Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-2838 build: Syntax issues in sources
[fs/lustre-release.git]
/
libcfs
/
libcfs
/
linux
/
linux-proc.c
diff --git
a/libcfs/libcfs/linux/linux-proc.c
b/libcfs/libcfs/linux/linux-proc.c
index
684423b
..
874347e
100644
(file)
--- a/
libcfs/libcfs/linux/linux-proc.c
+++ b/
libcfs/libcfs/linux/linux-proc.c
@@
-584,9
+584,11
@@
static cfs_sysctl_table_t top_table[] = {
INIT_CTL_NAME(0)
}
};
+#endif
int insert_proc(void)
{
+#ifdef CONFIG_SYSCTL
if (lnet_table_header == NULL)
lnet_table_header = cfs_register_sysctl_table(top_table, 0);
#endif