patch-2.1.16 linux/kernel/sysctl.c
Next file: linux/mm/swapfile.c
Previous file: linux/include/net/x25.h
Back to the patch index
Back to the overall index
-  Lines: 22
-  Date:
Fri Dec 13 11:37:47 1996
-  Orig file: 
v2.1.15/linux/kernel/sysctl.c
-  Orig date: 
Thu Dec 12 19:37:21 1996
diff -u --recursive --new-file v2.1.15/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -101,6 +101,10 @@
 
 extern char binfmt_java_interpreter[], binfmt_java_appletviewer[];
 
+#ifdef __sparc__
+extern char reboot_command [];
+#endif
+
 /* The default sysctl tables: */
 
 static ctl_table root_table[] = {
@@ -148,6 +152,10 @@
 	 64, 0644, NULL, &proc_dostring, &sysctl_string },
 	{KERN_JAVA_APPLETVIEWER, "java-appletviewer", binfmt_java_appletviewer,
 	 64, 0644, NULL, &proc_dostring, &sysctl_string },
+#endif
+#ifdef __sparc__
+	{KERN_SPARC_REBOOT, "reboot-cmd", reboot_command,
+	 256, 0644, NULL, &proc_dostring, &sysctl_string },
 #endif
 	{0}
 };
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov