summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorMike Travis <travis@sgi.com>2009-01-04 05:18:03 -0800
committerIngo Molnar <mingo@elte.hu>2009-01-04 15:39:26 +0100
commitc2d1cec1c77f7714672c1efeae075424c929e0d5 (patch)
tree94afecf37405b93b6807377e4e99cc2ac9323034 /block
parent588235bb53f2c215f0d4b08fd30b461fedc3338e (diff)
downloadlinux-c2d1cec1c77f7714672c1efeae075424c929e0d5.tar.gz
linux-c2d1cec1c77f7714672c1efeae075424c929e0d5.tar.bz2
linux-c2d1cec1c77f7714672c1efeae075424c929e0d5.zip
x86: cleanup remaining cpumask_t ops in smpboot code
Impact: use new cpumask API to reduce memory and stack usage Allocate the following local cpumasks based on the number of cpus that are present. References will use new cpumask API. (Currently only modified for x86_64, x86_32 continues to use the *_map variants.) cpu_callin_mask cpu_callout_mask cpu_initialized_mask cpu_sibling_setup_mask Provide the following accessor functions: struct cpumask *cpu_sibling_mask(int cpu) struct cpumask *cpu_core_mask(int cpu) Other changes are when setting or clearing the cpu online, possible or present maps, use the accessor functions. Signed-off-by: Mike Travis <travis@sgi.com> Acked-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions