Re: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-06 Thread Simon Horman
On Fri, Oct 06, 2017 at 11:28:56AM +0200, Simon Horman wrote: > On Thu, Oct 05, 2017 at 10:29:47PM +0200, Arnd Bergmann wrote: > > On Thu, Oct 5, 2017 at 2:25 PM, Geert Uytterhoeven > > wrote: > > > On Thu, Oct 5, 2017 at 2:09 PM, Arnd Bergmann wrote: > > >> arch/arm/mach-shmobile/headsmp-apmu.

Re: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-06 Thread Simon Horman
On Thu, Oct 05, 2017 at 10:29:47PM +0200, Arnd Bergmann wrote: > On Thu, Oct 5, 2017 at 2:25 PM, Geert Uytterhoeven > wrote: > > On Thu, Oct 5, 2017 at 2:09 PM, Arnd Bergmann wrote: > >> arch/arm/mach-shmobile/headsmp-apmu.S | 2 ++ > >> 1 file changed, 2 insertions(+) > >> > >> diff --git a/ar

Re: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-05 Thread Arnd Bergmann
On Thu, Oct 5, 2017 at 2:25 PM, Geert Uytterhoeven wrote: > On Thu, Oct 5, 2017 at 2:09 PM, Arnd Bergmann wrote: >> arch/arm/mach-shmobile/headsmp-apmu.S | 2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/arch/arm/mach-shmobile/headsmp-apmu.S >> b/arch/arm/mach-shmobile/headsmp-apmu.

Re: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-05 Thread Geert Uytterhoeven
Hi Arnd, On Thu, Oct 5, 2017 at 2:09 PM, Arnd Bergmann wrote: > A bugfix for the SMP case broke the build for the UP case: > > arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu': > (.text+0x34): undefined reference to `secondary_startup' > > The assembler file mixes code that

[PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build

2017-10-05 Thread Arnd Bergmann
A bugfix for the SMP case broke the build for the UP case: arch/arm/mach-shmobile/headsmp-apmu.o: In function `shmobile_boot_apmu': (.text+0x34): undefined reference to `secondary_startup' The assembler file mixes code that is used for SMP with code that we also need on a single-CPU build, so I'm