]> git.baikalelectronics.ru Git - kernel.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)
commit0a0526e9efa9d484d4f11b5538d7eb3d3145c936
treeaf33ad559690221cc1b015c50ff804fd51c5da2b
parent820f71420b4b0398fc9377e19edc7d930df9a9ad
fix cpu_chain section mismatch...

In commit eae0b3ab814a ("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