sparc: convert old cpumask API into new one
Adapt new API. Almost change is trivial, most important change are to remove following like =operator. cpumask_t cpu_mask = *mm_cpumask(mm); cpus_allowed = current->cpus_allowed; Because cpumask_var_t is =operator unsafe. These usage might prevent kernel core improvement. No functional change. Signed-off-by:KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- arch/sparc/include/asm/smp_32.h 5 additions, 5 deletionsarch/sparc/include/asm/smp_32.h
- arch/sparc/kernel/cpumap.c 2 additions, 2 deletionsarch/sparc/kernel/cpumap.c
- arch/sparc/kernel/ds.c 7 additions, 7 deletionsarch/sparc/kernel/ds.c
- arch/sparc/kernel/irq_64.c 3 additions, 3 deletionsarch/sparc/kernel/irq_64.c
- arch/sparc/kernel/leon_smp.c 10 additions, 10 deletionsarch/sparc/kernel/leon_smp.c
- arch/sparc/kernel/mdesc.c 1 addition, 1 deletionarch/sparc/kernel/mdesc.c
- arch/sparc/kernel/of_device_64.c 2 additions, 1 deletionarch/sparc/kernel/of_device_64.c
- arch/sparc/kernel/pci_msi.c 2 additions, 1 deletionarch/sparc/kernel/pci_msi.c
- arch/sparc/kernel/smp_32.c 29 additions, 22 deletionsarch/sparc/kernel/smp_32.c
- arch/sparc/kernel/smp_64.c 29 additions, 29 deletionsarch/sparc/kernel/smp_64.c
- arch/sparc/kernel/sun4d_smp.c 6 additions, 6 deletionsarch/sparc/kernel/sun4d_smp.c
- arch/sparc/kernel/sun4m_smp.c 6 additions, 6 deletionsarch/sparc/kernel/sun4m_smp.c
- arch/sparc/kernel/sysfs.c 2 additions, 1 deletionarch/sparc/kernel/sysfs.c
- arch/sparc/kernel/us2e_cpufreq.c 2 additions, 2 deletionsarch/sparc/kernel/us2e_cpufreq.c
- arch/sparc/kernel/us3_cpufreq.c 2 additions, 2 deletionsarch/sparc/kernel/us3_cpufreq.c
- arch/sparc/mm/init_64.c 7 additions, 7 deletionsarch/sparc/mm/init_64.c
Please register or sign in to comment