Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sparc64: Make mdesc_fill_in_cpu_data take a cpumask_t pointer.

Signed-off-by: David S. Miller <davem@davemloft.net>

+6 -6
+1 -1
arch/sparc/include/asm/mdesc.h
··· 71 71 72 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 75 extern void mdesc_populate_present_mask(cpumask_t *mask); 76 76 77 77 extern void sun4v_mdesc_init(void);
+1 -1
arch/sparc/kernel/ds.c
··· 544 544 resp_len, ncpus, mask, 545 545 DR_CPU_STAT_CONFIGURED); 546 546 547 - mdesc_fill_in_cpu_data(*mask); 547 + mdesc_fill_in_cpu_data(mask); 548 548 549 549 for_each_cpu_mask(cpu, *mask) { 550 550 int err;
+3 -3
arch/sparc/kernel/mdesc.c
··· 857 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 862 struct mdesc_handle *hp; 863 863 864 - mdesc_populate_present_mask(&mask); 865 - mdesc_iterate_over_cpus(fill_in_one_cpu, NULL, &mask); 864 + mdesc_populate_present_mask(mask); 865 + mdesc_iterate_over_cpus(fill_in_one_cpu, NULL, mask); 866 866 867 867 #ifdef CONFIG_SMP 868 868 sparc64_multi_core = 1;
+1 -1
arch/sparc/mm/init_64.c
··· 1810 1810 1811 1811 if (tlb_type == hypervisor) { 1812 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 1816 /* Once the OF device tree and MDESC have been setup, we know