aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/mach-default/mach_wakecpu.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-01-12 15:53:58 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-12 15:53:58 -0800
commit3e55f1a292583b11ff85952eec77d65a459da2dd (patch)
tree78b315b3389b552f38ed14099c1a5a26b944964c /arch/x86/include/asm/mach-default/mach_wakecpu.h
parent9b0c474f0a2366d6a9c4e7a0f348875017a841a5 (diff)
parent50c668d678fd01284799a6e4f1b91829d83cb9ed (diff)
Merge branch 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'x86-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: Revert "cpumask: use work_on_cpu in acpi-cpufreq.c for drv_read and drv_write" x86: fix apic.c build error on latest git x86: fix mpparse.c build error on latest git x86: avoid theoretical vmalloc fault loop x86, mtrr: fix types used in userspace exported header
Diffstat (limited to 'arch/x86/include/asm/mach-default/mach_wakecpu.h')
-rw-r--r--arch/x86/include/asm/mach-default/mach_wakecpu.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_wakecpu.h b/arch/x86/include/asm/mach-default/mach_wakecpu.h
index ceb01366014..89897a6a65b 100644
--- a/arch/x86/include/asm/mach-default/mach_wakecpu.h
+++ b/arch/x86/include/asm/mach-default/mach_wakecpu.h
@@ -24,7 +24,13 @@ static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
{
}
+#ifdef CONFIG_SMP
extern void __inquire_remote_apic(int apicid);
+#else /* CONFIG_SMP */
+static inline void __inquire_remote_apic(int apicid)
+{
+}
+#endif /* CONFIG_SMP */
static inline void inquire_remote_apic(int apicid)
{