X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=libcfs%2Finclude%2Flibcfs%2Fparams_tree.h;h=16983d307c262ffdc346c51238543048796c5971;hb=refs%2Fchanges%2F99%2F13299%2F3;hp=649b255d7dcf2d3945e5426efd60290c9ec55d9d;hpb=fe486c9894aa1d2275b66b3b3b0baee69a016afa;p=fs%2Flustre-release.git diff --git a/libcfs/include/libcfs/params_tree.h b/libcfs/include/libcfs/params_tree.h index 649b255..16983d3 100644 --- a/libcfs/include/libcfs/params_tree.h +++ b/libcfs/include/libcfs/params_tree.h @@ -46,10 +46,6 @@ #include #ifdef CONFIG_PROC_FS -# define LPROCFS -#endif /* CONFIG_PROC_FS */ - -#ifdef LPROCFS # ifndef HAVE_ONLY_PROCFS_SEQ /* in lprocfs_stat.c, to protect the private data for proc entries */ extern struct rw_semaphore _lprocfs_lock; @@ -101,5 +97,5 @@ static inline int LPROCFS_ENTRY_CHECK(struct inode *inode) #define LPROCFS_WRITE_EXIT() do {} while(0) # endif /* !HAVE_ONLY_PROCFS_SEQ */ -#endif /* LPROCFS */ +#endif /* CONFIG_PROC_FS */ #endif /* __PARAMS_TREE_H__ */