diff options
author | David S. Miller <davem@davemloft.net> | 2009-04-01 06:15:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 07:56:21 -0400 |
commit | a2094502dce23e9ace04d49702aa7a4d5996df55 (patch) | |
tree | b943af013397993c936a5c5015f2da16364e469a /arch | |
parent | 890db403d59fbeaf273ed019d0b1862223d80a9a (diff) |
sparc64: Make mdesc_fill_in_cpu_data take a cpumask_t pointer.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sparc/include/asm/mdesc.h | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/ds.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/mdesc.c | 6 | ||||
-rw-r--r-- | arch/sparc/mm/init_64.c | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/mdesc.h b/arch/sparc/include/asm/mdesc.h index 8f8a520d14b9..9faa046713fb 100644 --- a/arch/sparc/include/asm/mdesc.h +++ b/arch/sparc/include/asm/mdesc.h | |||
@@ -71,7 +71,7 @@ struct mdesc_notifier_client { | |||
71 | 71 | ||
72 | extern void mdesc_register_notifier(struct mdesc_notifier_client *client); | 72 | extern void mdesc_register_notifier(struct mdesc_notifier_client *client); |
73 | 73 | ||
74 | extern void mdesc_fill_in_cpu_data(cpumask_t mask); | 74 | extern void mdesc_fill_in_cpu_data(cpumask_t *mask); |
75 | extern void mdesc_populate_present_mask(cpumask_t *mask); | 75 | extern void mdesc_populate_present_mask(cpumask_t *mask); |
76 | 76 | ||
77 | extern void sun4v_mdesc_init(void); | 77 | extern void sun4v_mdesc_init(void); |
diff --git a/arch/sparc/kernel/ds.c b/arch/sparc/kernel/ds.c index 90350f838f05..51b05c498877 100644 --- a/arch/sparc/kernel/ds.c +++ b/arch/sparc/kernel/ds.c | |||
@@ -544,7 +544,7 @@ static int __cpuinit dr_cpu_configure(struct ds_info *dp, | |||
544 | resp_len, ncpus, mask, | 544 | resp_len, ncpus, mask, |
545 | DR_CPU_STAT_CONFIGURED); | 545 | DR_CPU_STAT_CONFIGURED); |
546 | 546 | ||
547 | mdesc_fill_in_cpu_data(*mask); | 547 | mdesc_fill_in_cpu_data(mask); |
548 | 548 | ||
549 | for_each_cpu_mask(cpu, *mask) { | 549 | for_each_cpu_mask(cpu, *mask) { |
550 | int err; | 550 | int err; |
diff --git a/arch/sparc/kernel/mdesc.c b/arch/sparc/kernel/mdesc.c index 602cbb70dd51..6d2015e0e574 100644 --- a/arch/sparc/kernel/mdesc.c +++ b/arch/sparc/kernel/mdesc.c | |||
@@ -857,12 +857,12 @@ static void * __cpuinit fill_in_one_cpu(struct mdesc_handle *hp, u64 mp, int cpu | |||
857 | return NULL; | 857 | return NULL; |
858 | } | 858 | } |
859 | 859 | ||
860 | void __cpuinit mdesc_fill_in_cpu_data(cpumask_t mask) | 860 | void __cpuinit mdesc_fill_in_cpu_data(cpumask_t *mask) |
861 | { | 861 | { |
862 | struct mdesc_handle *hp; | 862 | struct mdesc_handle *hp; |
863 | 863 | ||
864 | mdesc_populate_present_mask(&mask); | 864 | mdesc_populate_present_mask(mask); |
865 | mdesc_iterate_over_cpus(fill_in_one_cpu, NULL, &mask); | 865 | mdesc_iterate_over_cpus(fill_in_one_cpu, NULL, mask); |
866 | 866 | ||
867 | #ifdef CONFIG_SMP | 867 | #ifdef CONFIG_SMP |
868 | sparc64_multi_core = 1; | 868 | sparc64_multi_core = 1; |
diff --git a/arch/sparc/mm/init_64.c b/arch/sparc/mm/init_64.c index c589d6e65668..87fea94e5125 100644 --- a/arch/sparc/mm/init_64.c +++ b/arch/sparc/mm/init_64.c | |||
@@ -1810,7 +1810,7 @@ void __init paging_init(void) | |||
1810 | 1810 | ||
1811 | if (tlb_type == hypervisor) { | 1811 | if (tlb_type == hypervisor) { |
1812 | sun4v_mdesc_init(); | 1812 | sun4v_mdesc_init(); |
1813 | mdesc_fill_in_cpu_data(CPU_MASK_ALL); | 1813 | mdesc_fill_in_cpu_data(CPU_MASK_ALL_PTR); |
1814 | } | 1814 | } |
1815 | 1815 | ||
1816 | /* Once the OF device tree and MDESC have been setup, we know | 1816 | /* Once the OF device tree and MDESC have been setup, we know |