patch-2.3.50 linux/fs/proc/proc_misc.c

Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/generic.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.49/linux/fs/proc/proc_misc.c linux/fs/proc/proc_misc.c
@@ -664,8 +664,11 @@
 		}
 	}
 #ifdef __powerpc__
-	entry = create_proc_entry("ppc_htab", S_IRUGO|S_IWUSR, NULL);
-	if (entry)
-		entry->proc_fops = &ppc_htab_operations;
+	{
+		extern struct file_operations ppc_htab_operations;
+		entry = create_proc_entry("ppc_htab", S_IRUGO|S_IWUSR, NULL);
+		if (entry)
+			entry->proc_fops = &ppc_htab_operations;
+	}
 #endif
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)