diff options
Diffstat (limited to 'arch/ia64/kernel/acpi.c')
-rw-r--r-- | arch/ia64/kernel/acpi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/ia64/kernel/acpi.c b/arch/ia64/kernel/acpi.c index d541671caf4a..c4f41aca107f 100644 --- a/arch/ia64/kernel/acpi.c +++ b/arch/ia64/kernel/acpi.c | |||
@@ -924,9 +924,9 @@ int acpi_map_lsapic(acpi_handle handle, int *pcpu) | |||
924 | buffer.length = ACPI_ALLOCATE_BUFFER; | 924 | buffer.length = ACPI_ALLOCATE_BUFFER; |
925 | buffer.pointer = NULL; | 925 | buffer.pointer = NULL; |
926 | 926 | ||
927 | cpus_complement(tmp_map, cpu_present_map); | 927 | cpumask_complement(&tmp_map, cpu_present_mask); |
928 | cpu = first_cpu(tmp_map); | 928 | cpu = cpumask_first(&tmp_map); |
929 | if (cpu >= NR_CPUS) | 929 | if (cpu >= nr_cpu_ids) |
930 | return -EINVAL; | 930 | return -EINVAL; |
931 | 931 | ||
932 | acpi_map_cpu2node(handle, cpu, physid); | 932 | acpi_map_cpu2node(handle, cpu, physid); |