aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/apic.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-01-28 11:16:25 -0500
committerIngo Molnar <mingo@elte.hu>2009-01-28 17:20:35 -0500
commit0939e4fd351c58d08d25650797749f18904461af (patch)
tree9789424637fb09af0e69cfb1be56caa65c21e0f1 /arch/x86/include/asm/apic.h
parent018e047f3a98bd8d9e9d78b19bc38415f0c34dd7 (diff)
x86, smp: eliminate asm/mach-default/mach_wakecpu.h
Spread mach_wakecpu.h's definitions into apic.h and genapic.h and remove mach_wakecpu.h. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/include/asm/apic.h')
-rw-r--r--arch/x86/include/asm/apic.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/x86/include/asm/apic.h b/arch/x86/include/asm/apic.h
index ab1d51a8855e..e8f030440bc7 100644
--- a/arch/x86/include/asm/apic.h
+++ b/arch/x86/include/asm/apic.h
@@ -41,6 +41,21 @@ extern unsigned int apic_verbosity;
41extern int local_apic_timer_c2_ok; 41extern int local_apic_timer_c2_ok;
42 42
43extern int disable_apic; 43extern int disable_apic;
44
45#ifdef CONFIG_SMP
46extern void __inquire_remote_apic(int apicid);
47#else /* CONFIG_SMP */
48static inline void __inquire_remote_apic(int apicid)
49{
50}
51#endif /* CONFIG_SMP */
52
53static inline void default_inquire_remote_apic(int apicid)
54{
55 if (apic_verbosity >= APIC_DEBUG)
56 __inquire_remote_apic(apicid);
57}
58
44/* 59/*
45 * Basic functions accessing APICs. 60 * Basic functions accessing APICs.
46 */ 61 */