smp.c (42249094f79422fbf5ed4b54eeb48ff096809b8f) | smp.c (c473b2c6f6c6d012da98416b5de28cc48c4306c9) |
---|---|
1/* 2 * arch/sh/kernel/smp.c 3 * 4 * SMP support for the SuperH processors. 5 * 6 * Copyright (C) 2002 - 2010 Paul Mundt 7 * Copyright (C) 2006 - 2007 Akio Idehara 8 * --- 97 unchanged lines hidden (view full) --- 106} 107 108void play_dead_common(void) 109{ 110 idle_task_exit(); 111 irq_ctx_exit(raw_smp_processor_id()); 112 mb(); 113 | 1/* 2 * arch/sh/kernel/smp.c 3 * 4 * SMP support for the SuperH processors. 5 * 6 * Copyright (C) 2002 - 2010 Paul Mundt 7 * Copyright (C) 2006 - 2007 Akio Idehara 8 * --- 97 unchanged lines hidden (view full) --- 106} 107 108void play_dead_common(void) 109{ 110 idle_task_exit(); 111 irq_ctx_exit(raw_smp_processor_id()); 112 mb(); 113 |
114 __get_cpu_var(cpu_state) = CPU_DEAD; | 114 __this_cpu_write(cpu_state, CPU_DEAD); |
115 local_irq_disable(); 116} 117 118void native_play_dead(void) 119{ 120 play_dead_common(); 121} 122 --- 347 unchanged lines hidden --- | 115 local_irq_disable(); 116} 117 118void native_play_dead(void) 119{ 120 play_dead_common(); 121} 122 --- 347 unchanged lines hidden --- |