wakecpu.h 527 B

123456789101112131415161718192021222324
  1. #ifndef __ASM_ES7000_WAKECPU_H
  2. #define __ASM_ES7000_WAKECPU_H
  3. #define ES7000_TRAMPOLINE_PHYS_LOW 0x467
  4. #define ES7000_TRAMPOLINE_PHYS_HIGH 0x469
  5. static inline void es7000_wait_for_init_deassert(atomic_t *deassert)
  6. {
  7. #ifndef CONFIG_ES7000_CLUSTERED_APIC
  8. while (!atomic_read(deassert))
  9. cpu_relax();
  10. #endif
  11. return;
  12. }
  13. extern void __inquire_remote_apic(int apicid);
  14. static inline void inquire_remote_apic(int apicid)
  15. {
  16. if (apic_verbosity >= APIC_DEBUG)
  17. __inquire_remote_apic(apicid);
  18. }
  19. #endif /* __ASM_MACH_WAKECPU_H */