return;
}
-extern void __inquire_remote_apic(int apicid);
-
-static inline void inquire_remote_apic(int apicid)
-{
- if (apic_verbosity >= APIC_DEBUG)
- __inquire_remote_apic(apicid);
-}
-
#endif /* __ASM_MACH_WAKECPU_H */
}
#endif /* CONFIG_SMP */
-static inline void inquire_remote_apic(int apicid)
+static inline void default_inquire_remote_apic(int apicid)
{
if (apic_verbosity >= APIC_DEBUG)
__inquire_remote_apic(apicid);
#ifndef _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H
#define _ASM_X86_MACH_GENERIC_MACH_WAKECPU_H
-#define inquire_remote_apic (apic->inquire_remote_apic)
-
#endif /* _ASM_X86_MACH_GENERIC_MACH_APIC_H */
*((volatile unsigned short *)phys_to_virt(NUMAQ_TRAMPOLINE_PHYS_LOW));
}
-static inline void inquire_remote_apic(int apicid)
-{
-}
-
#endif /* __ASM_NUMAQ_WAKECPU_H */
else
/* trampoline code not run */
printk(KERN_ERR "Not responding.\n");
- if (get_uv_system_type() != UV_NON_UNIQUE_APIC)
- inquire_remote_apic(apicid);
+ if (apic->inquire_remote_apic)
+ apic->inquire_remote_apic(apicid);
}
}
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
- .inquire_remote_apic = inquire_remote_apic,
+ .inquire_remote_apic = default_inquire_remote_apic,
};
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
- .inquire_remote_apic = inquire_remote_apic,
+ .inquire_remote_apic = default_inquire_remote_apic,
};
/* Nothing to do for most platforms, since cleared by the INIT cycle: */
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
- .inquire_remote_apic = inquire_remote_apic,
+ .inquire_remote_apic = default_inquire_remote_apic,
};
.smp_callin_clear_local_apic = numaq_smp_callin_clear_local_apic,
.store_NMI_vector = numaq_store_NMI_vector,
- .inquire_remote_apic = inquire_remote_apic,
+ .inquire_remote_apic = NULL,
};
.smp_callin_clear_local_apic = NULL,
.store_NMI_vector = NULL,
- .inquire_remote_apic = inquire_remote_apic,
+ .inquire_remote_apic = default_inquire_remote_apic,
};