aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/mach-default
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/mach-default
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/mach-default')
-rw-r--r--arch/x86/include/asm/mach-default/mach_wakecpu.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/x86/include/asm/mach-default/mach_wakecpu.h b/arch/x86/include/asm/mach-default/mach_wakecpu.h
deleted file mode 100644
index b1cde560e4c1..000000000000
--- a/arch/x86/include/asm/mach-default/mach_wakecpu.h
+++ /dev/null
@@ -1,25 +0,0 @@
1#ifndef _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H
2#define _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H
3
4static inline void default_wait_for_init_deassert(atomic_t *deassert)
5{
6 while (!atomic_read(deassert))
7 cpu_relax();
8 return;
9}
10
11#ifdef CONFIG_SMP
12extern void __inquire_remote_apic(int apicid);
13#else /* CONFIG_SMP */
14static inline void __inquire_remote_apic(int apicid)
15{
16}
17#endif /* CONFIG_SMP */
18
19static inline void default_inquire_remote_apic(int apicid)
20{
21 if (apic_verbosity >= APIC_DEBUG)
22 __inquire_remote_apic(apicid);
23}
24
25#endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */