>... if your phys_cpu_present_map > (which is by default what gets used in MIPS as cpu_possible_map > for the purposes of sched.c) is being properly initialized and > maintained, the behavior of the two loops should be the same. > Have you double-checked that? Secondary CPUs turn generally > set their bits in that mask in prom_build_cpu_map(). Correction. I misremembered this. prom_build_cpu_map() is called only by the primary/boot CPU, prior to SMP initialization. It's still the place where phys_cpu_present gets set up, but it can't be set up by the secondaries. Regards, Kevin K.