linux/arch/x86/include/asm/mach-default/mach_wakecpu.h
<<
>>
Prefs
   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
   7static 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 */
  15static inline void smp_callin_clear_local_apic(void)
  16{
  17}
  18
  19static inline void store_NMI_vector(unsigned short *high, unsigned short *low)
  20{
  21}
  22
  23static inline void restore_NMI_vector(unsigned short *high, unsigned short *low)
  24{
  25}
  26
  27#ifdef CONFIG_SMP
  28extern void __inquire_remote_apic(int apicid);
  29#else /* CONFIG_SMP */
  30static inline void __inquire_remote_apic(int apicid)
  31{
  32}
  33#endif /* CONFIG_SMP */
  34
  35static inline void inquire_remote_apic(int apicid)
  36{
  37        if (apic_verbosity >= APIC_DEBUG)
  38                __inquire_remote_apic(apicid);
  39}
  40
  41#endif /* _ASM_X86_MACH_DEFAULT_MACH_WAKECPU_H */
  42
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.