diff options
-rw-r--r-- | arch/x86_64/kernel/setup64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/kernel/setup64.c b/arch/x86_64/kernel/setup64.c index e8b54dccb3ee..bd33be24a386 100644 --- a/arch/x86_64/kernel/setup64.c +++ b/arch/x86_64/kernel/setup64.c | |||
@@ -94,7 +94,7 @@ void __init setup_per_cpu_areas(void) | |||
94 | size = PERCPU_ENOUGH_ROOM; | 94 | size = PERCPU_ENOUGH_ROOM; |
95 | #endif | 95 | #endif |
96 | 96 | ||
97 | for (i = 0; i < NR_CPUS; i++) { | 97 | for_each_cpu_mask (i, cpu_possible_map) { |
98 | char *ptr; | 98 | char *ptr; |
99 | 99 | ||
100 | if (!NODE_DATA(cpu_to_node(i))) { | 100 | if (!NODE_DATA(cpu_to_node(i))) { |