git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
kernel
/
vserver
/
init.c
diff --git
a/kernel/vserver/init.c
b/kernel/vserver/init.c
index
4a20f26
..
22cc818
100644
(file)
--- a/
kernel/vserver/init.c
+++ b/
kernel/vserver/init.c
@@
-23,7
+23,9
@@
static int __init init_vserver(void)
{
int ret = 0;
+#ifdef CONFIG_VSERVER_DEBUG
vserver_register_sysctl();
+#endif
return ret;
}
@@
-31,7
+33,9
@@
static int __init init_vserver(void)
static void __exit exit_vserver(void)
{
+#ifdef CONFIG_VSERVER_DEBUG
vserver_unregister_sysctl();
+#endif
return;
}