Merge branches 'x86/apic', 'x86/cleanups', 'x86/cpufeature', 'x86/crashdump', 'x86...
[deliverable/linux.git] / arch / x86 / include / asm / es7000 / wakecpu.h
CommitLineData
c7e7964c
YL
1#ifndef __ASM_ES7000_WAKECPU_H
2#define __ASM_ES7000_WAKECPU_H
1da177e4 3
569712b2
YL
4#define TRAMPOLINE_PHYS_LOW 0x467
5#define TRAMPOLINE_PHYS_HIGH 0x469
1da177e4
LT
6
7static inline void wait_for_init_deassert(atomic_t *deassert)
8{
569712b2 9#ifndef CONFIG_ES7000_CLUSTERED_APIC
62be9001
SS
10 while (!atomic_read(deassert))
11 cpu_relax();
1da177e4
LT
12#endif
13 return;
14}
15
16/* Nothing to do for most platforms, since cleared by the INIT cycle */
17static inline void smp_callin_clear_local_apic(void)
18{
19}
20
21static inline void store_NMI_vector(unsigned short *high, unsigned short *low)
22{
23}
24
25static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
26{
27}
28
569712b2
YL
29extern void __inquire_remote_apic(int apicid);
30
31static inline void inquire_remote_apic(int apicid)
32{
33 if (apic_verbosity >= APIC_DEBUG)
34 __inquire_remote_apic(apicid);
35}
1da177e4 36
c7e7964c 37#endif /* __ASM_MACH_WAKECPU_H */
This page took 0.349912 seconds and 5 git commands to generate.