Nope, the cpu_online map should catch this. NR_CPUS is always 32
in SMP mode.
in get_cpuinfo ....
if (!(cpu_online_map & (1<<n)))
continue;
I didn't notice that this would only work in SMP mode.
It's a horrible hack, but it's less horrible than corrupting memory randomly ;-)
M.
-
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/