if (boot_cpu_physical_apicid == -1U) boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID)); 
orig_apicid = boot_cpu_physical_apicid; boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID)); if ((orig_apicid != -1U) && (orig_apicid != boot_cpu_physical_apicid)) printk(KERN_WARNING "Boot APIC ID in local APIC unexpected (%d vs %d)", orig_apicid, boot_cpu_physical_apicid); 
void __init init_apic_mappings(void){	unsigned long apic_phys;	/*	 * If no local APIC can be found then set up a fake all	 * zeroes page to simulate the local APIC and another	 * one for the IO-APIC.	 */	if (!smp_found_config && detect_init_APIC()) {		apic_phys = (unsigned long) alloc_bootmem_pages(PAGE_SIZE);		apic_phys = __pa(apic_phys);	} else		apic_phys = mp_lapic_addr;	set_fixmap_nocache(FIX_APIC_BASE, apic_phys);	printk(KERN_DEBUG "mapped APIC to %08lx (%08lx)\n", APIC_BASE,	       apic_phys);	/*	 * Fetch the APIC ID of the BSP in case we have a	 * default configuration (or the MP table is broken).	 */	if (boot_cpu_physical_apicid == -1U)		boot_cpu_physical_apicid = GET_APIC_ID(apic_read(APIC_ID));#ifdef CONFIG_X86_IO_APIC	{		unsigned long ioapic_phys, idx = FIX_IO_APIC_BASE_0;		int i;		for (i = 0; i < nr_ioapics; i++) {			if (smp_found_config) {				ioapic_phys = mp_ioapics[i].mpc_apicaddr;				if (!ioapic_phys) {					printk(KERN_ERR					       "WARNING: bogus zero IO-APIC "					       "address found in MPTABLE, "					       "disabling IO/APIC support!\n");					smp_found_config = 0;					skip_ioapic_setup = 1;					goto fake_ioapic_page;				}			} else {fake_ioapic_page:				ioapic_phys = (unsigned long)					      alloc_bootmem_pages(PAGE_SIZE);				ioapic_phys = __pa(ioapic_phys);			}			set_fixmap_nocache(idx, ioapic_phys);			printk(KERN_DEBUG "mapped IOAPIC to %08lx (%08lx)\n",			       __fix_to_virt(idx), ioapic_phys);			idx++;		}	}#endif}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/f2b36db692b7ff6972320ad9839ae656a3b0ee3e/apic.c/clean/arch/i386/kernel/apic.c