cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scn...
authorRusty Russell <[email protected]>
Sat, 13 Dec 2008 10:50:25 +0000 (21:20 +1030)
committerRusty Russell <[email protected]>
Sat, 13 Dec 2008 10:50:25 +0000 (21:20 +1030)
commit29c0177e6a4ac094302bed54a1d4bbb6b740a9ef
treed8ee57c5b40baa3f53d607b719344dd20f8c85a0
parent98a79d6a50181ca1ecf7400eda01d5dc1bc0dbf0
cpumask: change cpumask_scnprintf, cpumask_parse_user, cpulist_parse, and cpulist_scnprintf to take pointers.

Impact: change calling convention of existing cpumask APIs

Most cpumask functions started with cpus_: these have been replaced by
cpumask_ ones which take struct cpumask pointers as expected.

These four functions don't have good replacement names; fortunately
they're rarely used, so we just change them over.

Signed-off-by: Rusty Russell <[email protected]>
Signed-off-by: Mike Travis <[email protected]>
Acked-by: Ingo Molnar <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: Greg Kroah-Hartman <[email protected]>
Cc: [email protected]
Cc: [email protected]
19 files changed:
arch/ia64/kernel/topology.c
arch/mips/kernel/smp-cmp.c
arch/powerpc/platforms/pseries/xics.c
arch/x86/kernel/cpu/intel_cacheinfo.c
arch/x86/kernel/setup_percpu.c
drivers/base/cpu.c
drivers/base/node.c
drivers/base/topology.c
drivers/pci/pci-sysfs.c
drivers/pci/probe.c
include/linux/cpumask.h
kernel/cpuset.c
kernel/irq/proc.c
kernel/profile.c
kernel/sched.c
kernel/sched_stats.h
kernel/taskstats.c
kernel/trace/trace.c
mm/slub.c