diff options
author | Alex Nixon <alex.nixon@citrix.com> | 2008-08-22 11:52:13 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-08-25 10:59:19 +0200 |
commit | a21f5d88c17a40941f6239d1959d89e8493e8e01 (patch) | |
tree | 767f763a4e05afa4b0e89192730db47e58c1180b /include/asm-x86/smp.h | |
parent | 379002586368ae22916f668011c9118c8ce8189c (diff) | |
download | op-kernel-dev-a21f5d88c17a40941f6239d1959d89e8493e8e01.zip op-kernel-dev-a21f5d88c17a40941f6239d1959d89e8493e8e01.tar.gz |
x86: unify x86_32 and x86_64 play_dead into one function
Add the new play_dead into smpboot.c, as it fits more cleanly in there
alongside other CONFIG_HOTPLUG functions.
Separate out the common code into its own function.
Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/asm-x86/smp.h')
-rw-r--r-- | include/asm-x86/smp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86/smp.h b/include/asm-x86/smp.h index 3bec6b4..17305e72 100644 --- a/include/asm-x86/smp.h +++ b/include/asm-x86/smp.h @@ -132,6 +132,7 @@ int native_cpu_up(unsigned int cpunum); int native_cpu_disable(void); void native_cpu_die(unsigned int cpu); void native_play_dead(void); +void play_dead_common(void); void native_send_call_func_ipi(cpumask_t mask); void native_send_call_func_single_ipi(int cpu); |