diff options
Diffstat (limited to 'arch/sparc/kernel')
-rw-r--r-- | arch/sparc/kernel/ds.c | 2 | ||||
-rw-r--r-- | arch/sparc/kernel/mdesc.c | 6 |
2 files changed, 4 insertions, 4 deletions
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; |