diff options
author | 2009-03-11 16:33:55 +1030 | |
---|---|---|
committer | 2009-03-18 13:51:51 +0100 | |
commit | c38da5692e3a4d5d303c04cbf7e526f1eb761076 (patch) | |
tree | af07c37fd1961382ff359912ca49c6afacdbdf91 /include/linux/kernel.h | |
parent | x86: cpumask: update 32-bit APM not to mug current->cpus_allowed (diff) | |
download | wireguard-linux-c38da5692e3a4d5d303c04cbf7e526f1eb761076.tar.xz wireguard-linux-c38da5692e3a4d5d303c04cbf7e526f1eb761076.zip |
x86: cpumask: x86 mmio-mod.c use cpumask_var_t for downed_cpus
Impact: cleanup, reduce memory usage for CONFIG_CPUMASK_OFFSTACK=y
Part of the "getting rid of obsolete cpumask_t" patch:
1) Use cpumask_var_t: this is a pointer if CONFIG_CPUMASK_OFFSTACK=y
2) Call alloc_cpumask_var() on first entry into enter_uniprocessor()
3) Use modern cpumask_* functions.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Pekka Paalanen <pq@iki.fi>
LKML-Reference: <200903111633.55952.rusty@rustcorp.com.au>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/kernel.h')
0 files changed, 0 insertions, 0 deletions