diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-30 09:05:16 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-30 09:05:16 +1030 |
commit | 3fa41520696fec2815e2d88fbcccdda77ba4d693 (patch) | |
tree | 418c698535189083b9cbed28bc30e895bda147e3 /init | |
parent | ae7a47e72e1a0b5e2b46d1596bc2c22942a73023 (diff) | |
download | kernel_samsung_smdk4412-3fa41520696fec2815e2d88fbcccdda77ba4d693.zip kernel_samsung_smdk4412-3fa41520696fec2815e2d88fbcccdda77ba4d693.tar.gz kernel_samsung_smdk4412-3fa41520696fec2815e2d88fbcccdda77ba4d693.tar.bz2 |
cpumask: make set_cpu_*/init_cpu_* out-of-line
They're only for use in boot/cpu hotplug code anyway, and this avoids
the use of deprecated cpu_*_map.
Stephen Rothwell points out that gcc 4.2.4 (on powerpc at least)
didn't like the cast away of const anyway:
include/linux/cpumask.h: In function 'set_cpu_possible':
include/linux/cpumask.h:1052: warning: passing argument 2 of 'cpumask_set_cpu' discards qualifiers from pointer target type
So this kills two birds with one stone.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions