]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/i386/mach-voyager/voyager_smp.c
[PATCH] voyager: fix the cpu_possible_map to make voyager boot again
[linux-2.6-omap-h63xx.git] / arch / i386 / mach-voyager / voyager_smp.c
index 6e4c3baef6cc220af1e4d26a8808c77685120f60..8165626a5c30ba0e2967d9419ea8648033ba91c0 100644 (file)
@@ -402,6 +402,7 @@ find_smp_config(void)
        cpus_addr(phys_cpu_present_map)[0] |= voyager_extended_cmos_read(VOYAGER_PROCESSOR_PRESENT_MASK + 1) << 8;
        cpus_addr(phys_cpu_present_map)[0] |= voyager_extended_cmos_read(VOYAGER_PROCESSOR_PRESENT_MASK + 2) << 16;
        cpus_addr(phys_cpu_present_map)[0] |= voyager_extended_cmos_read(VOYAGER_PROCESSOR_PRESENT_MASK + 3) << 24;
+       cpu_possible_map = phys_cpu_present_map;
        printk("VOYAGER SMP: phys_cpu_present_map = 0x%lx\n", cpus_addr(phys_cpu_present_map)[0]);
        /* Here we set up the VIC to enable SMP */
        /* enable the CPIs by writing the base vector to their register */