diff options
Diffstat (limited to 'arch/x86/mm')
-rw-r--r-- | arch/x86/mm/numa.c | 2 | ||||
-rw-r--r-- | arch/x86/mm/numa_64.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/mm/numa.c b/arch/x86/mm/numa.c index 429dc2d191fd..ce255e32a593 100644 --- a/arch/x86/mm/numa.c +++ b/arch/x86/mm/numa.c | |||
@@ -45,7 +45,7 @@ void __init setup_node_to_cpumask_map(void) | |||
45 | /* | 45 | /* |
46 | * Returns a pointer to the bitmask of CPUs on Node 'node'. | 46 | * Returns a pointer to the bitmask of CPUs on Node 'node'. |
47 | */ | 47 | */ |
48 | const cpumask_t *cpumask_of_node(int node) | 48 | const struct cpumask *cpumask_of_node(int node) |
49 | { | 49 | { |
50 | if (node >= nr_node_ids) { | 50 | if (node >= nr_node_ids) { |
51 | printk(KERN_WARNING | 51 | printk(KERN_WARNING |
diff --git a/arch/x86/mm/numa_64.c b/arch/x86/mm/numa_64.c index 9d2b3d2625cd..d73aaa892371 100644 --- a/arch/x86/mm/numa_64.c +++ b/arch/x86/mm/numa_64.c | |||
@@ -697,7 +697,7 @@ void __cpuinit numa_remove_cpu(int cpu) | |||
697 | static void __cpuinit numa_set_cpumask(int cpu, int enable) | 697 | static void __cpuinit numa_set_cpumask(int cpu, int enable) |
698 | { | 698 | { |
699 | int node = early_cpu_to_node(cpu); | 699 | int node = early_cpu_to_node(cpu); |
700 | cpumask_t *mask; | 700 | struct cpumask *mask; |
701 | char buf[64]; | 701 | char buf[64]; |
702 | 702 | ||
703 | mask = node_to_cpumask_map[node]; | 703 | mask = node_to_cpumask_map[node]; |