process_64.c (bd2f55361f18347e890d52ff9cfd8895455ec11b) process_64.c (ba74c1448f127649046615ec017bded7b2a76f29)
1/* arch/sparc64/kernel/process.c
2 *
3 * Copyright (C) 1995, 1996, 2008 David S. Miller (davem@davemloft.net)
4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5 * Copyright (C) 1997, 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
6 */
7
8/*

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

101 while (!need_resched() && !cpu_is_offline(cpu))
102 sparc64_yield(cpu);
103
104 rcu_idle_exit();
105 tick_nohz_idle_exit();
106
107#ifdef CONFIG_HOTPLUG_CPU
108 if (cpu_is_offline(cpu)) {
1/* arch/sparc64/kernel/process.c
2 *
3 * Copyright (C) 1995, 1996, 2008 David S. Miller (davem@davemloft.net)
4 * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be)
5 * Copyright (C) 1997, 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz)
6 */
7
8/*

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

101 while (!need_resched() && !cpu_is_offline(cpu))
102 sparc64_yield(cpu);
103
104 rcu_idle_exit();
105 tick_nohz_idle_exit();
106
107#ifdef CONFIG_HOTPLUG_CPU
108 if (cpu_is_offline(cpu)) {
109 preempt_enable_no_resched();
109 sched_preempt_enable_no_resched();
110 cpu_play_dead();
111 }
112#endif
113 schedule_preempt_disabled();
114 }
115}
116
117#ifdef CONFIG_COMPAT

--- 667 unchanged lines hidden ---
110 cpu_play_dead();
111 }
112#endif
113 schedule_preempt_disabled();
114 }
115}
116
117#ifdef CONFIG_COMPAT

--- 667 unchanged lines hidden ---