diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2016-01-21 00:00:22 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-21 02:09:18 +0100 |
commit | 848e239155a17c5373e52278ff9a13b29867ea8a (patch) | |
tree | a268048e052748006401791db31b577c06a91381 /include | |
parent | kernel/cpu.c: export __cpu_*_mask (diff) | |
download | linux-848e239155a17c5373e52278ff9a13b29867ea8a.tar.xz linux-848e239155a17c5373e52278ff9a13b29867ea8a.zip |
drivers/base/cpu.c: use __cpu_*_mask directly
The only user of the lvalue-ness of the cpu_*_mask variables is in
drivers/base/cpu.c, and that is mostly a work-around for the fact that not
even const variables can be used in static initialization. Now that the
underlying struct cpumasks are exposed we can take their address.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions