|
@@ -696,9 +696,11 @@ void __init proc_misc_init(void)
|
|
proc_symlink("mounts", NULL, "self/mounts");
|
|
proc_symlink("mounts", NULL, "self/mounts");
|
|
|
|
|
|
/* And now for trickier ones */
|
|
/* And now for trickier ones */
|
|
|
|
+#ifdef CONFIG_PRINTK
|
|
entry = create_proc_entry("kmsg", S_IRUSR, &proc_root);
|
|
entry = create_proc_entry("kmsg", S_IRUSR, &proc_root);
|
|
if (entry)
|
|
if (entry)
|
|
entry->proc_fops = &proc_kmsg_operations;
|
|
entry->proc_fops = &proc_kmsg_operations;
|
|
|
|
+#endif
|
|
create_seq_entry("devices", 0, &proc_devinfo_operations);
|
|
create_seq_entry("devices", 0, &proc_devinfo_operations);
|
|
create_seq_entry("cpuinfo", 0, &proc_cpuinfo_operations);
|
|
create_seq_entry("cpuinfo", 0, &proc_cpuinfo_operations);
|
|
#ifdef CONFIG_BLOCK
|
|
#ifdef CONFIG_BLOCK
|