aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/genapic.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/genapic.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/genapic.h')
-rw-r--r--arch/x86/include/asm/genapic.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/x86/include/asm/genapic.h b/arch/x86/include/asm/genapic.h
index e5f9c5696fb6..1772dad01b1d 100644
--- a/arch/x86/include/asm/genapic.h
+++ b/arch/x86/include/asm/genapic.h
@@ -113,4 +113,11 @@ extern int default_cpu_present_to_apicid(int mps_cpu);
113extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid); 113extern int default_check_phys_apicid_present(int boot_cpu_physical_apicid);
114#endif 114#endif
115 115
116static inline void default_wait_for_init_deassert(atomic_t *deassert)
117{
118 while (!atomic_read(deassert))
119 cpu_relax();
120 return;
121}
122
116#endif /* _ASM_X86_GENAPIC_64_H */ 123#endif /* _ASM_X86_GENAPIC_64_H */