* really not sure why, since all local APICs should have distinct physical
* IDs, and we need to know what they are.
*/
-static inline int check_apicid_present(int apicid)
-{
- return physid_isset(apicid, phys_cpu_present_map);
-}
-
static inline void set_apicid(int phys_apicid, physid_mask_t *map)
{
physid_set(phys_apicid, *map);
#include <xen/serial.h>
#include <xen/numa.h>
#include <xen/cpu.h>
+
+#include <asm/apic.h>
+#include <asm/io_apic.h>
#include <asm/cpuidle.h>
#include <asm/current.h>
#include <asm/mc146818rtc.h>
#include <asm/tboot.h>
#include <asm/trampoline.h>
#include <irq_vectors.h>
-#include <mach_apic.h>
unsigned long __read_mostly trampoline_phys;
enum ap_boot_method __read_mostly ap_boot_method = AP_BOOT_NORMAL;
* CPU too, but we do it for the sake of robustness anyway.
* Makes no sense to do this check in clustered apic mode, so skip it
*/
- if ( !check_apicid_present(boot_cpu_physical_apicid) )
+ if ( !physid_isset(boot_cpu_physical_apicid, phys_cpu_present_map) )
{
printk("weird, boot CPU (#%d) not listed by the BIOS.\n",
boot_cpu_physical_apicid);