summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/smpboot_64.c
diff options
context:
space:
mode:
authorGlauber de Oliveira Costa <gcosta@redhat.com>2008-03-19 14:24:59 -0300
committerIngo Molnar <mingo@elte.hu>2008-04-17 17:40:59 +0200
commitd0173aeac4f7fa90a63319b817bd207bdc0ac87e (patch)
treef1a70f264d7b749ea4377bb59cbfb7268e84f5f4 /arch/x86/kernel/smpboot_64.c
parent1af8a0c1b3b85b1007f49917ea6a351b7aeb7562 (diff)
downloadop-kernel-dev-d0173aeac4f7fa90a63319b817bd207bdc0ac87e.zip
op-kernel-dev-d0173aeac4f7fa90a63319b817bd207bdc0ac87e.tar.gz
x86: use start_ipi_hook in x86_64
It is used to match i386. The definition for the non-paravirt case is moved to smp.h instead of smp_32.h Signed-off-by: Glauber Costa <gcosta@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/smpboot_64.c')
-rw-r--r--arch/x86/kernel/smpboot_64.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/x86/kernel/smpboot_64.c b/arch/x86/kernel/smpboot_64.c
index 57ebe6c..13ab112 100644
--- a/arch/x86/kernel/smpboot_64.c
+++ b/arch/x86/kernel/smpboot_64.c
@@ -345,6 +345,14 @@ static int __cpuinit wakeup_secondary_via_INIT(int phys_apicid, unsigned int sta
num_starts = 2;
/*
+ * Paravirt / VMI wants a startup IPI hook here to set up the
+ * target processor state.
+ */
+ startup_ipi_hook(phys_apicid, (unsigned long) start_secondary,
+ (unsigned long) init_rsp);
+
+
+ /*
* Run STARTUP IPI loop.
*/
Dprintk("#startup loops: %d.\n", num_starts);
OpenPOWER on IntegriCloud