Merge branch 'linus' into cpus4096
[linux-2.6] / arch / x86 / include / asm / mach-default / mach_wakecpu.h
1 #ifndef _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H
2 #define _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H
3
4 #define TRAMPOLINE_PHYS_LOW (0x467)
5 #define TRAMPOLINE_PHYS_HIGH (0x469)
6
7 static inline void wait_for_init_deassert(atomic_t *deassert)
8 {
9         while (!atomic_read(deassert))
10                 cpu_relax();
11         return;
12 }
13
14 /* Nothing to do for most platforms, since cleared by the INIT cycle */
15 static inline void smp_callin_clear_local_apic(void)
16 {
17 }
18
19 static inline void store_NMI_vector(unsigned short *high, unsigned short *low)
20 {
21 }
22
23 static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
24 {
25 }
26
27 extern void __inquire_remote_apic(int apicid);
28
29 static inline void inquire_remote_apic(int apicid)
30 {
31         if (apic_verbosity >= APIC_DEBUG)
32                 __inquire_remote_apic(apicid);
33 }
34
35 #endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */