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
- Lines: 17
- Date:
2004-08-07 16:26:06.497422507 -0700
- Orig file:
linux-2.4.26/kernel/sysctl.c
- Orig date:
2003-11-28 10:26:21.000000000 -0800
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)