process.c (2bbb6817c0ac1b5f2a68d720f364f98eeb1ac4fd) process.c (1268fbc746ea1cd279886a740dcbad4ba5232225)
1/*
2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2006 Atmark Techno, Inc.
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.

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

98
99 /* endless idle loop with no priority at all */
100 while (1) {
101 void (*idle)(void) = pm_idle;
102
103 if (!idle)
104 idle = default_idle;
105
1/*
2 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu>
3 * Copyright (C) 2008-2009 PetaLogix
4 * Copyright (C) 2006 Atmark Techno, Inc.
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.

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

98
99 /* endless idle loop with no priority at all */
100 while (1) {
101 void (*idle)(void) = pm_idle;
102
103 if (!idle)
104 idle = default_idle;
105
106 tick_nohz_idle_enter_norcu();
106 tick_nohz_idle_enter();
107 rcu_idle_enter();
107 while (!need_resched())
108 idle();
108 while (!need_resched())
109 idle();
109 tick_nohz_idle_exit_norcu();
110 rcu_idle_exit();
111 tick_nohz_idle_exit();
110
111 preempt_enable_no_resched();
112 schedule();
113 preempt_disable();
114 check_pgt_cache();
115 }
116}
117

--- 141 unchanged lines hidden ---
112
113 preempt_enable_no_resched();
114 schedule();
115 preempt_disable();
116 check_pgt_cache();
117 }
118}
119

--- 141 unchanged lines hidden ---