+/*
+ * Copyright (C) 2001 Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
#include <linux/sched.h>
#include <linux/mm.h>
#include <linux/sysctl.h>
#include <linux/swapctl.h>
#include <linux/proc_fs.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/ctype.h>
#include <asm/bitops.h>
#include <asm/uaccess.h>
#include <linux/utsname.h>
-#include <linux/sym_obd.h>
-#include <linux/presto.h>
-#include <linux/obd_psdev.h>
-#include <linux/presto_upcall.h>
struct ctl_table_header *obdfs_table_header = NULL;
-int obdfs_debug_level = 4095;
+int obdfs_debug_level = 0;
int obdfs_print_entry = 1;
{ 0 }
};
-static ctl_table jukebox_table[] = {
+static ctl_table top_table[] = {
{OBDFS_SYSCTL, "obdfs", NULL, 0, 0555, obdfs_table},
{0}
};
void obdfs_sysctl_init (void)
{
+
#ifdef CONFIG_SYSCTL
if ( !obdfs_table_header )
- obdfs_table_header = register_sysctl_table(jukebox_table, 0);
+ obdfs_table_header = register_sysctl_table(top_table, 0);
#endif
}