diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 04:19:53 (GMT) |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-03-13 04:19:53 (GMT) |
commit | 155dd720d06a219ddf5a56b473cb3325441fc879 (patch) | |
tree | 617654f462b6c64eb954336fec1b427bc3f36211 /arch/x86/include/asm/processor.h | |
parent | c032ef60d1aa9af33730b7a35bbea751b131adc1 (diff) | |
download | linux-155dd720d06a219ddf5a56b473cb3325441fc879.tar.xz |
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/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 7613950..d794d94 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; |