diff options
| -rw-r--r-- | arch/x86/kernel/setup_percpu.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/arch/x86/kernel/setup_percpu.c b/arch/x86/kernel/setup_percpu.c index 0b63b08e7530..c73d9a815b6d 100644 --- a/arch/x86/kernel/setup_percpu.c +++ b/arch/x86/kernel/setup_percpu.c | |||
| @@ -5,12 +5,11 @@ | |||
| 5 | #include <linux/percpu.h> | 5 | #include <linux/percpu.h> |
| 6 | #include <linux/kexec.h> | 6 | #include <linux/kexec.h> |
| 7 | #include <linux/crash_dump.h> | 7 | #include <linux/crash_dump.h> |
| 8 | #include <asm/smp.h> | 8 | #include <linux/smp.h> |
| 9 | #include <asm/percpu.h> | 9 | #include <linux/topology.h> |
| 10 | #include <asm/sections.h> | 10 | #include <asm/sections.h> |
| 11 | #include <asm/processor.h> | 11 | #include <asm/processor.h> |
| 12 | #include <asm/setup.h> | 12 | #include <asm/setup.h> |
| 13 | #include <asm/topology.h> | ||
| 14 | #include <asm/mpspec.h> | 13 | #include <asm/mpspec.h> |
| 15 | #include <asm/apicdef.h> | 14 | #include <asm/apicdef.h> |
| 16 | #include <asm/highmem.h> | 15 | #include <asm/highmem.h> |
| @@ -20,8 +19,8 @@ unsigned int num_processors; | |||
| 20 | unsigned disabled_cpus __cpuinitdata; | 19 | unsigned disabled_cpus __cpuinitdata; |
| 21 | /* Processor that is doing the boot up */ | 20 | /* Processor that is doing the boot up */ |
| 22 | unsigned int boot_cpu_physical_apicid = -1U; | 21 | unsigned int boot_cpu_physical_apicid = -1U; |
| 23 | unsigned int max_physical_apicid; | ||
| 24 | EXPORT_SYMBOL(boot_cpu_physical_apicid); | 22 | EXPORT_SYMBOL(boot_cpu_physical_apicid); |
| 23 | unsigned int max_physical_apicid; | ||
| 25 | 24 | ||
| 26 | /* Bitmask of physically existing CPUs */ | 25 | /* Bitmask of physically existing CPUs */ |
| 27 | physid_mask_t phys_cpu_present_map; | 26 | physid_mask_t phys_cpu_present_map; |
| @@ -289,8 +288,8 @@ static void __cpuinit numa_set_cpumask(int cpu, int enable) | |||
| 289 | 288 | ||
| 290 | cpulist_scnprintf(buf, sizeof(buf), mask); | 289 | cpulist_scnprintf(buf, sizeof(buf), mask); |
| 291 | printk(KERN_DEBUG "%s cpu %d node %d: mask now %s\n", | 290 | printk(KERN_DEBUG "%s cpu %d node %d: mask now %s\n", |
| 292 | enable? "numa_add_cpu":"numa_remove_cpu", cpu, node, buf); | 291 | enable ? "numa_add_cpu" : "numa_remove_cpu", cpu, node, buf); |
| 293 | } | 292 | } |
| 294 | 293 | ||
| 295 | void __cpuinit numa_add_cpu(int cpu) | 294 | void __cpuinit numa_add_cpu(int cpu) |
| 296 | { | 295 | { |
