From: Sam Ravnborg Date: Tue, 4 Mar 2008 23:09:05 +0000 (-0800) Subject: driver core: cpu: fix section mismatch in cpu.c:store_online X-Git-Tag: v2.6.26-rc1~1126^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c847402e1c69c1cfe2bddeadc8391bacbb3d0a5;p=pandora-kernel.git driver core: cpu: fix section mismatch in cpu.c:store_online Fix following warning: WARNING: vmlinux.o(.text+0x64609c): Section mismatch in reference from the function store_online() to the function .cpuinit.text:cpu_up() store_online() is defined inside a HOTPLUG_CPU block so references are OK. Ignore references by annotating store_online() with __ref. Note: This is needed because cpu_up() most likely should not have been __cpuinit but all the hotplug cpu code misuses the __cpuinit annotation. Signed-off-by: Sam Ravnborg Signed-off-by: Andrew Morton Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed