diff options
Diffstat (limited to 'kernel/cpu.c')
-rw-r--r-- | kernel/cpu.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c index fe31ff3d3809..9d4e1c28c053 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c | |||
@@ -462,7 +462,6 @@ out: | |||
462 | 462 | ||
463 | #endif /* CONFIG_SMP */ | 463 | #endif /* CONFIG_SMP */ |
464 | 464 | ||
465 | #ifndef CONFIG_HAVE_CPUMASK_OF_CPU_MAP | ||
466 | /* 64 bits of zeros, for initializers. */ | 465 | /* 64 bits of zeros, for initializers. */ |
467 | #if BITS_PER_LONG == 32 | 466 | #if BITS_PER_LONG == 32 |
468 | #define Z64 0, 0 | 467 | #define Z64 0, 0 |
@@ -509,7 +508,11 @@ out: | |||
509 | 508 | ||
510 | /* We want this statically initialized, just to be safe. We try not | 509 | /* We want this statically initialized, just to be safe. We try not |
511 | * to waste too much space, either. */ | 510 | * to waste too much space, either. */ |
512 | static const cpumask_t cpumask_map[] = { | 511 | static const cpumask_t cpumask_map[] |
512 | #ifdef CONFIG_HAVE_CPUMASK_OF_CPU_MAP | ||
513 | __initdata | ||
514 | #endif | ||
515 | = { | ||
513 | CMI0(0), CMI0(1), CMI0(2), CMI0(3), | 516 | CMI0(0), CMI0(1), CMI0(2), CMI0(3), |
514 | #if NR_CPUS > 4 | 517 | #if NR_CPUS > 4 |
515 | CMI0(4), CMI0(5), CMI0(6), CMI0(7), | 518 | CMI0(4), CMI0(5), CMI0(6), CMI0(7), |
@@ -569,4 +572,3 @@ static const cpumask_t cpumask_map[] = { | |||
569 | }; | 572 | }; |
570 | 573 | ||
571 | const cpumask_t *cpumask_of_cpu_map = cpumask_map; | 574 | const cpumask_t *cpumask_of_cpu_map = cpumask_map; |
572 | #endif /* !CONFIG_HAVE_CPUMASK_OF_CPU_MAP */ | ||