ARM: OMAP: Fix section mismatch warning for platform_cpu_die()
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Wed, 22 Feb 2012 10:40:04 +0000 (16:10 +0530)
committerTony Lindgren <tony@atomide.com>
Tue, 28 Feb 2012 22:34:12 +0000 (14:34 -0800)
commit82dfcbfe63500c80335d0cd5f91a35d4545a1fb2
tree01b3a57f24ec4b3dfd06ec97cfee1ad8185c21cc
parentccdeed6281296977f67f57d048fdeec542428ce1
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 <santosh.shilimkar@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-hotplug.c
This page took 0.024947 seconds and 5 git commands to generate.