patch-2.1.115 linux/kernel/sysctl.c
Next file: linux/mm/filemap.c
Previous file: linux/kernel/sched.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 4 16:49:18 1998
- Orig file:
v2.1.114/linux/kernel/sysctl.c
- Orig date:
Tue Jun 23 10:01:30 1998
diff -u --recursive --new-file v2.1.114/linux/kernel/sysctl.c linux/kernel/sysctl.c
@@ -52,7 +52,7 @@
extern char reboot_command [];
#endif
#ifdef __powerpc__
-extern unsigned long htab_reclaim_on, zero_paged_on;
+extern unsigned long htab_reclaim_on, zero_paged_on, powersave_nap;
#endif
extern int pgt_cache_water[];
@@ -171,6 +171,8 @@
{KERN_PPC_HTABRECLAIM, "htab-reclaim", &htab_reclaim_on, sizeof(int),
0644, NULL, &proc_dointvec},
{KERN_PPC_ZEROPAGED, "zero-paged", &zero_paged_on, sizeof(int),
+ 0644, NULL, &proc_dointvec},
+ {KERN_PPC_POWERSAVE_NAP, "powersave-nap", &powersave_nap, sizeof(int),
0644, NULL, &proc_dointvec},
#endif
{KERN_CTLALTDEL, "ctrl-alt-del", &C_A_D, sizeof(int),
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov