idle.c (ebf8889bd1fe3615991ff4494635d237280652a2) idle.c (fb293ae1c02dab78e714d50f2c37d7852d6f328a)
1/*
2 * Idle daemon for PowerPC. Idle daemon will handle any action
3 * that needs to be taken when the system becomes idle.
4 *
5 * Originally written by Cort Dougan (cort@cs.nmt.edu).
6 * Subsequent 32-bit hacking by Tom Rini, Armin Kuster,
7 * Paul Mackerras and others.
8 *

--- 108 unchanged lines hidden (view full) ---

117 .proc_handler = &proc_dointvec,
118 },
119 {}
120};
121static ctl_table powersave_nap_sysctl_root[] = {
122 {
123 .ctl_name = CTL_KERN,
124 .procname = "kernel",
1/*
2 * Idle daemon for PowerPC. Idle daemon will handle any action
3 * that needs to be taken when the system becomes idle.
4 *
5 * Originally written by Cort Dougan (cort@cs.nmt.edu).
6 * Subsequent 32-bit hacking by Tom Rini, Armin Kuster,
7 * Paul Mackerras and others.
8 *

--- 108 unchanged lines hidden (view full) ---

117 .proc_handler = &proc_dointvec,
118 },
119 {}
120};
121static ctl_table powersave_nap_sysctl_root[] = {
122 {
123 .ctl_name = CTL_KERN,
124 .procname = "kernel",
125 .mode = 0755,
125 .mode = 0555,
126 .child = powersave_nap_ctl_table,
127 },
128 {}
129};
130
131static int __init
132register_powersave_nap_sysctl(void)
133{
134 register_sysctl_table(powersave_nap_sysctl_root);
135
136 return 0;
137}
138__initcall(register_powersave_nap_sysctl);
139#endif
126 .child = powersave_nap_ctl_table,
127 },
128 {}
129};
130
131static int __init
132register_powersave_nap_sysctl(void)
133{
134 register_sysctl_table(powersave_nap_sysctl_root);
135
136 return 0;
137}
138__initcall(register_powersave_nap_sysctl);
139#endif