idle.c (458ce2910aa83d8a2cafb489d727f7da839e73c6) idle.c (bd2f55361f18347e890d52ff9cfd8895455ec11b)
1/*
2 * The idle loop for all SuperH platforms.
3 *
4 * Copyright (C) 2002 - 2009 Paul Mundt
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.

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

109 * with IRQs enabled
110 */
111 WARN_ON(irqs_disabled());
112 start_critical_timings();
113 }
114
115 rcu_idle_exit();
116 tick_nohz_idle_exit();
1/*
2 * The idle loop for all SuperH platforms.
3 *
4 * Copyright (C) 2002 - 2009 Paul Mundt
5 *
6 * This file is subject to the terms and conditions of the GNU General Public
7 * License. See the file "COPYING" in the main directory of this archive
8 * for more details.

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

109 * with IRQs enabled
110 */
111 WARN_ON(irqs_disabled());
112 start_critical_timings();
113 }
114
115 rcu_idle_exit();
116 tick_nohz_idle_exit();
117 preempt_enable_no_resched();
118 schedule();
119 preempt_disable();
117 schedule_preempt_disabled();
120 }
121}
122
123void __init select_idle_routine(void)
124{
125 /*
126 * If a platform has set its own idle routine, leave it alone.
127 */

--- 37 unchanged lines hidden ---
118 }
119}
120
121void __init select_idle_routine(void)
122{
123 /*
124 * If a platform has set its own idle routine, leave it alone.
125 */

--- 37 unchanged lines hidden ---