Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447535 > unrolled thread

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

Started bySimon Horman <horms@verge.net.au>
First post2016-07-21 01:20 +0200
Last post2016-07-21 01:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] ARM: shmobile: don't call platform_can_secondary_boot on  UP Simon Horman <horms@verge.net.au> - 2016-07-21 01:20 +0200

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

FromSimon Horman <horms@verge.net.au>
Date2016-07-21 01:20 +0200
SubjectRe: [PATCH] ARM: shmobile: don't call platform_can_secondary_boot on UP
Message-ID<rX8Wu-7Sc-15@gated-at.bofh.it>
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 <arnd@arndb.de> 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): undefined reference to `platform_can_secondary_boot'
> >
> > This adds an compile-time check before the call to platform_can_secondary_boot,
> > turning the function into an empty stub for UP configurations.
> >
> > Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> > Fixes: c21af444eace ("ARM: shmobile: smp: Add function to prioritize DT SMP")
> 
> Crap, I think I took the shortcut of only compile-testing
> arch/arm/mach-shmobile,
> not link-testing the whole kernel, with CONFIG_SMP=n...
> 
> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>

Sorry for missing this until now.
I have queued it up as a fix for v4.7.

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web