[PATCH] ARM: omap: make am43xx build with SMP enabled

Mohammed, Afzal afzal at ti.com
Mon Jun 24 03:25:50 EDT 2013


Hi,

On Mon, Jun 24, 2013 at 12:47:42, Tony Lindgren wrote:
> * Arnd Bergmann <arnd at arndb.de> [130621 16:28]:
> > With am43xx enabled, omap4 and omap5 disabled and SMP on, I get these
> > build errors:
> > 
> > arch/arm/mach-omap2/built-in.o: In function `scu_gp_set':
> > :(.text+0x7858): undefined reference to `omap4_get_scu_base'
> > arch/arm/mach-omap2/built-in.o: In function `scu_gp_clear':
> > :(.text+0x793c): undefined reference to `omap4_get_scu_base'
> > arch/arm/mach-omap2/built-in.o: In function `omap4_cpu_die':
> > :(.ref.text+0x44): undefined reference to `omap4_hotplug_cpu'
> > 
> > The easiest way to work around that is to turn on the missing
> > functions, even though we know they won't be used on am43xx,
> > which is single-CPU.
> > 
> > Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> > Cc: Ankur Kishore <a-kishore at ti.com>
> > Cc: Afzal Mohammed <afzal at ti.com>
> > Cc: Tony Lindgren <tony at atomide.com>
> 
> Looks OK to me:
> 
> Acked-by: Tony Lindgren <tony at atomide.com>

Wait, seeing another build error after applying this patch,
I will respond back soon.

Regards
Afzal



More information about the linux-arm-kernel mailing list