]>
Commit | Line | Data |
---|---|---|
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 | |
7 | static 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 */ | |
17 | static inline void smp_callin_clear_local_apic(void) | |
18 | { | |
19 | } | |
20 | ||
21 | static inline void store_NMI_vector(unsigned short *high, unsigned short *low) | |
22 | { | |
23 | } | |
24 | ||
25 | static inline void restore_NMI_vector(unsigned short *high, unsigned short *low) | |
26 | { | |
27 | } | |
28 | ||
569712b2 YL |
29 | extern void __inquire_remote_apic(int apicid); |
30 | ||
31 | static 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 */ |