diff options
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index 40574ae11401..605a08b29721 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -881,8 +881,8 @@ __init void prefill_possible_map(void) | |||
881 | 881 | ||
882 | possible = available_cpus + additional_cpus; | 882 | possible = available_cpus + additional_cpus; |
883 | 883 | ||
884 | if (possible > NR_CPUS) | 884 | if (possible > nr_cpu_ids) |
885 | possible = NR_CPUS; | 885 | possible = nr_cpu_ids; |
886 | 886 | ||
887 | printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n", | 887 | printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n", |
888 | possible, max((possible - available_cpus), 0)); | 888 | possible, max((possible - available_cpus), 0)); |