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 c16fb03037d4..a7ca07f3754e 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -852,8 +852,8 @@ __init void prefill_possible_map(void) | |||
852 | 852 | ||
853 | possible = available_cpus + additional_cpus; | 853 | possible = available_cpus + additional_cpus; |
854 | 854 | ||
855 | if (possible > NR_CPUS) | 855 | if (possible > nr_cpu_ids) |
856 | possible = NR_CPUS; | 856 | possible = nr_cpu_ids; |
857 | 857 | ||
858 | printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n", | 858 | printk(KERN_INFO "SMP: Allowing %d CPUs, %d hotplug CPUs\n", |
859 | possible, max((possible - available_cpus), 0)); | 859 | possible, max((possible - available_cpus), 0)); |