--- 1.4/arch/i386/kernel/cpu/mtrr/if.c Sat Dec 21 22:17:44 2002
+++ edited/arch/i386/kernel/cpu/mtrr/if.c Wed Feb 5 01:52:11 2003
@@ -1,6 +1,5 @@
#include <linux/init.h>
#include <linux/proc_fs.h>
-#include <linux/devfs_fs_kernel.h>
#include <linux/ctype.h>
#include <linux/module.h>
#include <linux/seq_file.h>
@@ -300,8 +299,6 @@
# endif /* CONFIG_PROC_FS */
-static devfs_handle_t devfs_handle;
-
char * attrib_to_str(int x)
{
return (x <= 6) ? mtrr_strings[x] : "?";
@@ -337,7 +334,6 @@
attrib_to_str(type), usage_table[i]);
}
}
- devfs_set_file_size(devfs_handle, len);
return 0;
}
@@ -350,11 +346,6 @@
proc_root_mtrr->owner = THIS_MODULE;
proc_root_mtrr->proc_fops = &mtrr_fops;
}
-#endif
-#ifdef USERSPACE_INTERFACE
- devfs_handle = devfs_register(NULL, "cpu/mtrr", DEVFS_FL_DEFAULT, 0, 0,
- S_IFREG | S_IRUGO | S_IWUSR,
- &mtrr_fops, NULL);
#endif
return 0;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/