Re: [PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP

2016-07-20 Thread Simon Horman
On Thu, Jun 30, 2016 at 03:09:46PM +0200, Geert Uytterhoeven wrote: > Hi Arnd, > > On Thu, Jun 30, 2016 at 2:25 PM, Arnd Bergmann wrote: > > For rcar-gen2, we build the SMP files even for UP configurations, > > and that just broke: > > > > arch/arm/mach-shmobile/built-in.o: In

Re: [PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP

2016-06-30 Thread Geert Uytterhoeven
Hi Arnd, On Thu, Jun 30, 2016 at 2:25 PM, Arnd Bergmann wrote: > For rcar-gen2, we build the SMP files even for UP configurations, > and that just broke: > > arch/arm/mach-shmobile/built-in.o: In function > `shmobile_smp_init_fallback_ops': > pm-rcar-gen2.c:(.init.text+0x40c):

[PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP

2016-06-30 Thread Arnd Bergmann
For rcar-gen2, we build the SMP files even for UP configurations, and that just broke: arch/arm/mach-shmobile/built-in.o: In function `shmobile_smp_init_fallback_ops': pm-rcar-gen2.c:(.init.text+0x40c): undefined reference to `platform_can_secondary_boot' This adds an compile-time check before