]> git.karo-electronics.de Git - karo-tx-linux.git/commit
fix cpu_chain section mismatch...
authorDaniel J Blueman <daniel.blueman@gmail.com>
Tue, 1 Jun 2010 11:15:11 +0000 (12:15 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 1 Jun 2010 16:22:50 +0000 (09:22 -0700)
commit5c113fbeed7a5a192d8431a768965f8a45c16475
treeaf33ad559690221cc1b015c50ff804fd51c5da2b
parent1f73897861b8ef0be64ff4b801f8d6f830f683b5
fix cpu_chain section mismatch...

In commit e9fb7631ebcd ("cpu-hotplug: introduce cpu_notify(),
__cpu_notify(), cpu_notify_nofail()") the new helper functions access
cpu_chain.  As a result, it shouldn't be marked __cpuinitdata (via
section mismatch warning).

Alternatively, the helper functions should be forced inline, or marked
__ref or __cpuinit.  In the meantime, this patch silences the warning
the trivial way.

Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/cpu.c