diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-12-27 15:04:26 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-01-16 18:44:05 +0100 |
commit | 4410030646be072b82ec1892ad5cc7d91af384d8 (patch) | |
tree | fdab426550a40c974120ec67342a3b07c2e2636c /arch/x86 | |
parent | sched: Add "const" to is_idle_task() parameter (diff) | |
download | linux-4410030646be072b82ec1892ad5cc7d91af384d8.tar.xz linux-4410030646be072b82ec1892ad5cc7d91af384d8.zip |
rcu: Add missing __cpuinit annotation in rcutorture code
"rcu: Add rcutorture CPU-hotplug capability" adds cpu hotplug operations
to the rcutorture code but produces a false positive warning about section
mismatches:
WARNING: vmlinux.o(.text+0x1e420c): Section mismatch in reference from the
function rcu_torture_onoff() to the function .cpuinit.text:cpu_up()
The function rcu_torture_onoff() references
the function __cpuinit cpu_up().
This is often because rcu_torture_onoff lacks a __cpuinit
annotation or the annotation of cpu_up is wrong.
This commit therefore adds a __cpuinit annotation so the warning goes away.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions