aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2010-12-07 14:04:01 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2010-12-14 10:48:41 -0800
commit039babf20aa5c4a9976e63d0f57e06aacfcd7b36 (patch)
tree1f0f316113f7c9116c8ab1608ee665be503b6a16
parent558eddb4785c4ae239008e58af7cfe7d1e75bb97 (diff)
downloadmrst-s0i3-test-039babf20aa5c4a9976e63d0f57e06aacfcd7b36.tar.gz
mrst-s0i3-test-039babf20aa5c4a9976e63d0f57e06aacfcd7b36.tar.xz
mrst-s0i3-test-039babf20aa5c4a9976e63d0f57e06aacfcd7b36.zip
x86, smpboot: unstatic wake_secondary_cpu_via_init()
Export wake_secondary_cpu_via_init() so we can use it for S0i3. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--arch/x86/include/asm/apic.h1
-rw-r--r--arch/x86/kernel/smpboot.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index 6f5d327f6bc..01374bffb06 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -370,6 +370,7 @@ extern struct apic *apic;
#ifdef CONFIG_SMP
extern atomic_t init_deasserted;
extern int wakeup_secondary_cpu_via_nmi(int apicid, unsigned long start_eip);
+extern int wakeup_secondary_cpu_via_init(int apicid, unsigned long start_eip);
#endif
#ifdef CONFIG_X86_LOCAL_APIC
diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index 083e99d1b7d..acca8594ccb 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -580,7 +580,7 @@ wakeup_secondary_cpu_via_nmi(int logical_apicid, unsigned long start_eip)
return (send_status | accept_status);
}
-static int __cpuinit
+int __cpuinit
wakeup_secondary_cpu_via_init(int phys_apicid, unsigned long start_eip)
{
unsigned long send_status, accept_status = 0;