x86: add cpu hotplug hooks into smp_ops

Signed-off-by: Alex Nixon <alex.nixon@citrix.com>
Acked-by: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Alex Nixon
2008-08-22 11:52:11 +01:00
committed by Ingo Molnar
parent e4f807c2b4
commit 93be71b672
5 changed files with 37 additions and 13 deletions

View File

@@ -91,7 +91,7 @@ static void cpu_exit_clear(void)
}
/* We don't actually take CPU down, just spin without interrupts. */
static inline void play_dead(void)
void native_play_dead(void)
{
/* This must be done before dead CPU ack */
cpu_exit_clear();
@@ -107,7 +107,7 @@ static inline void play_dead(void)
wbinvd_halt();
}
#else
static inline void play_dead(void)
void native_play_dead(void)
{
BUG();
}