diff options
author | 2006-02-25 13:39:56 -0800 | |
---|---|---|
committer | 2006-02-26 19:36:00 -0800 | |
commit | 7abea9214585823f7f19d91872d7c6f8874bef9a (patch) | |
tree | e7861664ee1596ed226725005d6b41a7b0edc447 /drivers/acpi/processor_idle.c | |
parent | [SPARC64]: Implement futex_atomic_op_inuser(). (diff) | |
download | wireguard-linux-7abea9214585823f7f19d91872d7c6f8874bef9a.tar.xz wireguard-linux-7abea9214585823f7f19d91872d7c6f8874bef9a.zip |
[SPARC64]: Make cpu_present_map available earlier.
The change to kernel/sched.c's init code to use for_each_cpu()
requires that the cpu_possible_map be setup much earlier.
Set it up via setup_arch(), constrained to NR_CPUS, and later
constrain it to max_cpus in smp_prepare_cpus().
This fixes SMP booting on sparc64.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
0 files changed, 0 insertions, 0 deletions