Messages in this thread Patch in this message | | | Date | Tue, 12 Nov 2002 22:50:38 -0500 (EST) | From | Zwane Mwaikambo <> | Subject | [PATCH][2.5] smp_init 'CPUS done' looks strange |
| |
Also, it would make sense in the future if smp_cpus_done actually gets a value denoting how many cpus are online.
Zwane
Index: linux-2.5.47/init/main.c =================================================================== RCS file: /build/cvsroot/linux-2.5.47/init/main.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 main.c --- linux-2.5.47/init/main.c 11 Nov 2002 03:59:33 -0000 1.1.1.1 +++ linux-2.5.47/init/main.c 13 Nov 2002 03:47:56 -0000 @@ -347,8 +347,8 @@ } /* Any cleanup work */ - printk("CPUS done %u\n", max_cpus); - smp_cpus_done(max_cpus); + printk("CPUS done %u\n", num_online_cpus()); + smp_cpus_done(num_online_cpus()); #if 0 /* Get other processors into their bootup holding patterns. */ -- function.linuxpower.ca
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |