process_64.c (458ce2910aa83d8a2cafb489d727f7da839e73c6) | process_64.c (bd2f55361f18347e890d52ff9cfd8895455ec11b) |
---|---|
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/* --- 90 unchanged lines hidden (view full) --- 99 rcu_idle_enter(); 100 101 while (!need_resched() && !cpu_is_offline(cpu)) 102 sparc64_yield(cpu); 103 104 rcu_idle_exit(); 105 tick_nohz_idle_exit(); 106 | 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/* --- 90 unchanged lines hidden (view full) --- 99 rcu_idle_enter(); 100 101 while (!need_resched() && !cpu_is_offline(cpu)) 102 sparc64_yield(cpu); 103 104 rcu_idle_exit(); 105 tick_nohz_idle_exit(); 106 |
107 preempt_enable_no_resched(); 108 | |
109#ifdef CONFIG_HOTPLUG_CPU | 107#ifdef CONFIG_HOTPLUG_CPU |
110 if (cpu_is_offline(cpu)) | 108 if (cpu_is_offline(cpu)) { 109 preempt_enable_no_resched(); |
111 cpu_play_dead(); | 110 cpu_play_dead(); |
111 } |
|
112#endif | 112#endif |
113 114 schedule(); 115 preempt_disable(); | 113 schedule_preempt_disabled(); |
116 } 117} 118 119#ifdef CONFIG_COMPAT 120static void show_regwindow32(struct pt_regs *regs) 121{ 122 struct reg_window32 __user *rw; 123 struct reg_window32 r_w; --- 663 unchanged lines hidden --- | 114 } 115} 116 117#ifdef CONFIG_COMPAT 118static void show_regwindow32(struct pt_regs *regs) 119{ 120 struct reg_window32 __user *rw; 121 struct reg_window32 r_w; --- 663 unchanged lines hidden --- |