process.c (2bbb6817c0ac1b5f2a68d720f364f98eeb1ac4fd) process.c (1268fbc746ea1cd279886a740dcbad4ba5232225)
1/*
2 * This file handles the architecture dependent parts of process handling.
3 *
4 * Copyright IBM Corp. 1999,2009
5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>,
6 * Hartmut Penner <hp@de.ibm.com>,
7 * Denis Joseph Barrow,
8 */

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

86 vtime_stop_cpu();
87 /* Reenable preemption tracer. */
88 start_critical_timings();
89}
90
91void cpu_idle(void)
92{
93 for (;;) {
1/*
2 * This file handles the architecture dependent parts of process handling.
3 *
4 * Copyright IBM Corp. 1999,2009
5 * Author(s): Martin Schwidefsky <schwidefsky@de.ibm.com>,
6 * Hartmut Penner <hp@de.ibm.com>,
7 * Denis Joseph Barrow,
8 */

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

86 vtime_stop_cpu();
87 /* Reenable preemption tracer. */
88 start_critical_timings();
89}
90
91void cpu_idle(void)
92{
93 for (;;) {
94 tick_nohz_idle_enter_norcu();
94 tick_nohz_idle_enter();
95 rcu_idle_enter();
95 while (!need_resched())
96 default_idle();
96 while (!need_resched())
97 default_idle();
97 tick_nohz_idle_exit_norcu();
98 rcu_idle_exit();
99 tick_nohz_idle_exit();
98 preempt_enable_no_resched();
99 schedule();
100 preempt_disable();
101 }
102}
103
104extern void __kprobes kernel_thread_starter(void);
105

--- 254 unchanged lines hidden ---
100 preempt_enable_no_resched();
101 schedule();
102 preempt_disable();
103 }
104}
105
106extern void __kprobes kernel_thread_starter(void);
107

--- 254 unchanged lines hidden ---