*
* Virtual Server Init
*
- * Copyright (C) 2004 Herbert Pötzl
+ * Copyright (C) 2004-2007 Herbert Pötzl
*
* V0.01 basic structure
*
*/
-#include <linux/config.h>
#include <linux/errno.h>
-#include <linux/vserver.h>
-// #include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
{
int ret = 0;
+#ifdef CONFIG_VSERVER_DEBUG
vserver_register_sysctl();
+#endif
return ret;
}
static void __exit exit_vserver(void)
{
+#ifdef CONFIG_VSERVER_DEBUG
vserver_unregister_sysctl();
+#endif
return;
}
+/* FIXME: GFP_ZONETYPES gone
+long vx_slab[GFP_ZONETYPES]; */
+long vx_area;
+
module_init(init_vserver);
module_exit(exit_vserver);