idle.c (bd2f55361f18347e890d52ff9cfd8895455ec11b) | idle.c (ba74c1448f127649046615ec017bded7b2a76f29) |
---|---|
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 * --- 88 unchanged lines hidden (view full) --- 97 } 98 } 99 100 HMT_medium(); 101 ppc64_runlatch_on(); 102 rcu_idle_exit(); 103 tick_nohz_idle_exit(); 104 if (cpu_should_die()) { | 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 * --- 88 unchanged lines hidden (view full) --- 97 } 98 } 99 100 HMT_medium(); 101 ppc64_runlatch_on(); 102 rcu_idle_exit(); 103 tick_nohz_idle_exit(); 104 if (cpu_should_die()) { |
105 preempt_enable_no_resched(); | 105 sched_preempt_enable_no_resched(); |
106 cpu_die(); 107 } 108 schedule_preempt_disabled(); 109 } 110} 111 112 113/* --- 55 unchanged lines hidden --- | 106 cpu_die(); 107 } 108 schedule_preempt_disabled(); 109 } 110} 111 112 113/* --- 55 unchanged lines hidden --- |