idle.c (84abd88a70090cf00f9e45c3a81680874f17626e) idle.c (a7c2bb8279d20d853e43c34584eaf2b039de8026)
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 *

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

89 HMT_low();
90 HMT_very_low();
91 }
92 }
93
94 HMT_medium();
95 ppc64_runlatch_on();
96 tick_nohz_restart_sched_tick();
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 *

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

89 HMT_low();
90 HMT_very_low();
91 }
92 }
93
94 HMT_medium();
95 ppc64_runlatch_on();
96 tick_nohz_restart_sched_tick();
97 preempt_enable_no_resched();
97 if (cpu_should_die())
98 cpu_die();
98 if (cpu_should_die())
99 cpu_die();
99 preempt_enable_no_resched();
100 schedule();
101 preempt_disable();
102 }
103}
104
105int powersave_nap;
106
107#ifdef CONFIG_SYSCTL

--- 31 unchanged lines hidden ---
100 schedule();
101 preempt_disable();
102 }
103}
104
105int powersave_nap;
106
107#ifdef CONFIG_SYSCTL

--- 31 unchanged lines hidden ---