x86: unify x86_32 and x86_64 play_dead into one function
commita21f5d88c17a40941f6239d1959d89e8493e8e01
authorAlex Nixon <alex.nixon@citrix.com>
Fri, 22 Aug 2008 10:52:13 +0000 (22 11:52 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 25 Aug 2008 08:59:19 +0000 (25 10:59 +0200)
tree767f763a4e05afa4b0e89192730db47e58c1180b
parent379002586368ae22916f668011c9118c8ce8189c
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>
arch/x86/kernel/process_32.c
arch/x86/kernel/process_64.c
arch/x86/kernel/smpboot.c
include/asm-x86/smp.h