diff options
| -rw-r--r-- | arch/x86/include/asm/topology.h | 4 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/es7000_32.c | 6 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/numaq_32.c | 6 | ||||
| -rw-r--r-- | arch/x86/kernel/apic/summit_32.c | 6 | ||||
| -rw-r--r-- | arch/x86/mm/numa.c | 2 | ||||
| -rw-r--r-- | arch/x86/mm/numa_64.c | 2 |
6 files changed, 13 insertions, 13 deletions
diff --git a/arch/x86/include/asm/topology.h b/arch/x86/include/asm/topology.h index 1ce1e1afa801..e3f4198371a9 100644 --- a/arch/x86/include/asm/topology.h +++ b/arch/x86/include/asm/topology.h | |||
| @@ -89,7 +89,7 @@ static inline int early_cpu_to_node(int cpu) | |||
| 89 | extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; | 89 | extern cpumask_var_t node_to_cpumask_map[MAX_NUMNODES]; |
| 90 | 90 | ||
| 91 | #ifdef CONFIG_DEBUG_PER_CPU_MAPS | 91 | #ifdef CONFIG_DEBUG_PER_CPU_MAPS |
| 92 | extern const cpumask_t *cpumask_of_node(int node); | 92 | extern const struct cpumask *cpumask_of_node(int node); |
| 93 | #else | 93 | #else |
| 94 | /* Returns a pointer to the cpumask of CPUs on Node 'node'. */ | 94 | /* Returns a pointer to the cpumask of CPUs on Node 'node'. */ |
| 95 | static inline const struct cpumask *cpumask_of_node(int node) | 95 | static inline const struct cpumask *cpumask_of_node(int node) |
| @@ -172,7 +172,7 @@ static inline int early_cpu_to_node(int cpu) | |||
| 172 | return 0; | 172 | return 0; |
| 173 | } | 173 | } |
| 174 | 174 | ||
| 175 | static inline const cpumask_t *cpumask_of_node(int node) | 175 | static inline const struct cpumask *cpumask_of_node(int node) |
| 176 | { | 176 | { |
| 177 | return cpu_online_mask; | 177 | return cpu_online_mask; |
| 178 | } | 178 | } |
diff --git a/arch/x86/kernel/apic/es7000_32.c b/arch/x86/kernel/apic/es7000_32.c index 12c8e19ef96e..1c11b819f245 100644 --- a/arch/x86/kernel/apic/es7000_32.c +++ b/arch/x86/kernel/apic/es7000_32.c | |||
| @@ -410,7 +410,7 @@ static void es7000_enable_apic_mode(void) | |||
| 410 | WARN(1, "Command failed, status = %x\n", mip_status); | 410 | WARN(1, "Command failed, status = %x\n", mip_status); |
| 411 | } | 411 | } |
| 412 | 412 | ||
| 413 | static void es7000_vector_allocation_domain(int cpu, cpumask_t *retmask) | 413 | static void es7000_vector_allocation_domain(int cpu, struct cpumask *retmask) |
| 414 | { | 414 | { |
| 415 | /* Careful. Some cpus do not strictly honor the set of cpus | 415 | /* Careful. Some cpus do not strictly honor the set of cpus |
| 416 | * specified in the interrupt destination when using lowest | 416 | * specified in the interrupt destination when using lowest |
| @@ -456,7 +456,7 @@ static int es7000_apic_id_registered(void) | |||
| 456 | return 1; | 456 | return 1; |
| 457 | } | 457 | } |
| 458 | 458 | ||
| 459 | static const cpumask_t *target_cpus_cluster(void) | 459 | static const struct cpumask *target_cpus_cluster(void) |
| 460 | { | 460 | { |
| 461 | return cpu_all_mask; | 461 | return cpu_all_mask; |
| 462 | } | 462 | } |
| @@ -573,7 +573,7 @@ static int es7000_check_phys_apicid_present(int cpu_physical_apicid) | |||
| 573 | return 1; | 573 | return 1; |
| 574 | } | 574 | } |
| 575 | 575 | ||
| 576 | static unsigned int es7000_cpu_mask_to_apicid(const cpumask_t *cpumask) | 576 | static unsigned int es7000_cpu_mask_to_apicid(const struct cpumask *cpumask) |
| 577 | { | 577 | { |
| 578 | unsigned int round = 0; | 578 | unsigned int round = 0; |
| 579 | int cpu, uninitialized_var(apicid); | 579 | int cpu, uninitialized_var(apicid); |
diff --git a/arch/x86/kernel/apic/numaq_32.c b/arch/x86/kernel/apic/numaq_32.c index 9562de1b8882..533e59c6fc82 100644 --- a/arch/x86/kernel/apic/numaq_32.c +++ b/arch/x86/kernel/apic/numaq_32.c | |||
| @@ -334,7 +334,7 @@ static inline void numaq_smp_callin_clear_local_apic(void) | |||
| 334 | clear_local_APIC(); | 334 | clear_local_APIC(); |
| 335 | } | 335 | } |
| 336 | 336 | ||
| 337 | static inline const cpumask_t *numaq_target_cpus(void) | 337 | static inline const struct cpumask *numaq_target_cpus(void) |
| 338 | { | 338 | { |
| 339 | return cpu_all_mask; | 339 | return cpu_all_mask; |
| 340 | } | 340 | } |
| @@ -427,7 +427,7 @@ static inline int numaq_check_phys_apicid_present(int boot_cpu_physical_apicid) | |||
| 427 | * We use physical apicids here, not logical, so just return the default | 427 | * We use physical apicids here, not logical, so just return the default |
| 428 | * physical broadcast to stop people from breaking us | 428 | * physical broadcast to stop people from breaking us |
| 429 | */ | 429 | */ |
| 430 | static inline unsigned int numaq_cpu_mask_to_apicid(const cpumask_t *cpumask) | 430 | static unsigned int numaq_cpu_mask_to_apicid(const struct cpumask *cpumask) |
| 431 | { | 431 | { |
| 432 | return 0x0F; | 432 | return 0x0F; |
| 433 | } | 433 | } |
| @@ -462,7 +462,7 @@ static int probe_numaq(void) | |||
| 462 | return found_numaq; | 462 | return found_numaq; |
| 463 | } | 463 | } |
| 464 | 464 | ||
| 465 | static void numaq_vector_allocation_domain(int cpu, cpumask_t *retmask) | 465 | static void numaq_vector_allocation_domain(int cpu, struct cpumask *retmask) |
| 466 | { | 466 | { |
| 467 | /* Careful. Some cpus do not strictly honor the set of cpus | 467 | /* Careful. Some cpus do not strictly honor the set of cpus |
| 468 | * specified in the interrupt destination when using lowest | 468 | * specified in the interrupt destination when using lowest |
diff --git a/arch/x86/kernel/apic/summit_32.c b/arch/x86/kernel/apic/summit_32.c index 278e863c71b5..9cfe1f415d81 100644 --- a/arch/x86/kernel/apic/summit_32.c +++ b/arch/x86/kernel/apic/summit_32.c | |||
| @@ -182,7 +182,7 @@ static inline int is_WPEG(struct rio_detail *rio){ | |||
| 182 | 182 | ||
| 183 | #define SUMMIT_APIC_DFR_VALUE (APIC_DFR_CLUSTER) | 183 | #define SUMMIT_APIC_DFR_VALUE (APIC_DFR_CLUSTER) |
| 184 | 184 | ||
| 185 | static const cpumask_t *summit_target_cpus(void) | 185 | static const struct cpumask *summit_target_cpus(void) |
| 186 | { | 186 | { |
| 187 | /* CPU_MASK_ALL (0xff) has undefined behaviour with | 187 | /* CPU_MASK_ALL (0xff) has undefined behaviour with |
| 188 | * dest_LowestPrio mode logical clustered apic interrupt routing | 188 | * dest_LowestPrio mode logical clustered apic interrupt routing |
| @@ -285,7 +285,7 @@ static int summit_check_phys_apicid_present(int boot_cpu_physical_apicid) | |||
| 285 | return 1; | 285 | return 1; |
| 286 | } | 286 | } |
| 287 | 287 | ||
| 288 | static unsigned int summit_cpu_mask_to_apicid(const cpumask_t *cpumask) | 288 | static unsigned int summit_cpu_mask_to_apicid(const struct cpumask *cpumask) |
| 289 | { | 289 | { |
| 290 | unsigned int round = 0; | 290 | unsigned int round = 0; |
| 291 | int cpu, apicid = 0; | 291 | int cpu, apicid = 0; |
| @@ -342,7 +342,7 @@ static int probe_summit(void) | |||
| 342 | return 0; | 342 | return 0; |
| 343 | } | 343 | } |
| 344 | 344 | ||
| 345 | static void summit_vector_allocation_domain(int cpu, cpumask_t *retmask) | 345 | static void summit_vector_allocation_domain(int cpu, struct cpumask *retmask) |
| 346 | { | 346 | { |
| 347 | /* Careful. Some cpus do not strictly honor the set of cpus | 347 | /* Careful. Some cpus do not strictly honor the set of cpus |
| 348 | * specified in the interrupt destination when using lowest | 348 | * specified in the interrupt destination when using lowest |
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]; |
