patch-2.4.27 linux-2.4.27/kernel/sysctl.c

Next file: linux-2.4.27/lib/rwsem-spinlock.c
Previous file: linux-2.4.27/include/scsi/scsi_host.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.26/kernel/sysctl.c linux-2.4.27/kernel/sysctl.c
@@ -84,6 +84,7 @@
 #ifdef __sparc__
 extern char reboot_command [];
 extern int stop_a_enabled;
+extern int scons_pwroff;
 #endif
 
 #ifdef CONFIG_ARCH_S390
@@ -197,6 +198,8 @@
 	 256, 0644, NULL, &proc_dostring, &sysctl_string },
 	{KERN_SPARC_STOP_A, "stop-a", &stop_a_enabled, sizeof (int),
 	 0644, NULL, &proc_dointvec},
+	{KERN_SPARC_SCONS_PWROFF, "scons-poweroff", &scons_pwroff, sizeof (int),
+	 0644, NULL, &proc_dointvec},
 #endif
 #ifdef CONFIG_PPC32
 	{KERN_PPC_ZEROPAGED, "zero-paged", &zero_paged_on, sizeof(int),

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