1#ifndef __ASM_ES7000_WAKECPU_H 2#define __ASM_ES7000_WAKECPU_H 3 4#define TRAMPOLINE_PHYS_LOW 0x467 5#define TRAMPOLINE_PHYS_HIGH 0x469 6 7static inline void wait_for_init_deassert(atomic_t *deassert) 8{ 9#ifndef CONFIG_ES7000_CLUSTERED_APIC 10 while (!atomic_read(deassert)) 11 cpu_relax(); 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 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} 36 37#endif /* __ASM_MACH_WAKECPU_H */ 38

