summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2009-03-13 14:49:53 +1030
committerRusty Russell <rusty@rustcorp.com.au>2009-03-13 14:49:53 +1030
commit155dd720d06a219ddf5a56b473cb3325441fc879 (patch)
tree617654f462b6c64eb954336fec1b427bc3f36211 /arch/x86/include/asm
parentc032ef60d1aa9af33730b7a35bbea751b131adc1 (diff)
downloadblackbird-op-linux-155dd720d06a219ddf5a56b473cb3325441fc879.tar.gz
blackbird-op-linux-155dd720d06a219ddf5a56b473cb3325441fc879.zip
cpumask: convert struct cpuinfo_x86's llc_shared_map to cpumask_var_t
Impact: reduce kernel memory usage when CONFIG_CPUMASK_OFFSTACK=y Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/x86/include/asm')
-rw-r--r--arch/x86/include/asm/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 76139506c3e4..d794d9483c56 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -94,7 +94,7 @@ struct cpuinfo_x86 {
unsigned long loops_per_jiffy;
#ifdef CONFIG_SMP
/* cpus sharing the last level cache: */
- cpumask_t llc_shared_map;
+ cpumask_var_t llc_shared_map;
#endif
/* cpuid returned max cores value: */
u16 x86_max_cores;
OpenPOWER on IntegriCloud