From: Santosh Shilimkar Date: Wed, 22 Feb 2012 10:40:04 +0000 (+0530) Subject: ARM: OMAP: Fix section mismatch warning for platform_cpu_die() X-Git-Tag: v3.4-rc1~93^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82dfcbfe63500c80335d0cd5f91a35d4545a1fb2;p=pandora-kernel.git ARM: OMAP: Fix section mismatch warning for platform_cpu_die() WARNING: vmlinux.o(.text+0x226d0): Section mismatch in reference from the function platform_cpu_die() to the function .cpuinit.text:omap4_hotplug_cpu() The function platform_cpu_die() references the function __cpuinit omap4_hotplug_cpu(). This is often because platform_cpu_die lacks a __cpuinit annotation or the annotation of omap4_hotplug_cpu is wrong. Thanks to Russell King for suggesting to use __ref instead of the initial (and wrong) approach to use __cpuinit. Signed-off-by: Santosh Shilimkar Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed