]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
powerpc: register_cpu_online should be __cpuinit
authorNathan Lynch <ntl@pobox.com>
Sun, 27 Jul 2008 05:24:51 +0000 (15:24 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:48 +0000 (16:30 +1000)
commit9ba1984ead5d25c93d241e0ee43f8f6a252f60d9
treee4c7bce3f3ab1285a214fe666df9fbd8942d94aa
parent7d2f6075f992d33c7be829c3638b8cb72b782b19
powerpc: register_cpu_online should be __cpuinit

It is called only in cpu online paths.

(caught by CONFIG_DEBUG_SECTION_MISMATCH=y)

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/sysfs.c