From: Arnd Bergmann <arnd@arndb.de> To: Simon Horman <horms@verge.net.au>, Magnus Damm <magnus.damm@gmail.com> Cc: Arnd Bergmann <arnd@arndb.de>, Geert Uytterhoeven <geert+renesas@glider.be>, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build Date: Thu, 5 Oct 2017 14:09:04 +0200 [thread overview] Message-ID: <20171005120914.465582-1-arnd@arndb.de> (raw) 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 leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef. 3fd45a136ff6 ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- 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.S index db4743d2bf91..5672b5849401 100644 --- a/arch/arm/mach-shmobile/headsmp-apmu.S +++ b/arch/arm/mach-shmobile/headsmp-apmu.S @@ -31,7 +31,9 @@ ENTRY(shmobile_init_cntvoff) ret lr ENDPROC(shmobile_init_cntvoff) +#ifdef CONFIG_SMP ENTRY(shmobile_boot_apmu) bl shmobile_init_cntvoff b secondary_startup ENDPROC(shmobile_boot_apmu) +#endif -- 2.9.0
WARNING: multiple messages have this Message-ID (diff)
From: arnd@arndb.de (Arnd Bergmann) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build Date: Thu, 5 Oct 2017 14:09:04 +0200 [thread overview] Message-ID: <20171005120914.465582-1-arnd@arndb.de> (raw) 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 leaving it always enabled in the Makefile, but enclose the SMP code in an #ifdef. 3fd45a136ff6 ("ARM: shmobile: rcar-gen2: Make sure CNTVOFF is initialized on CA7/15") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Arnd Bergmann <arnd@arndb.de> --- 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.S index db4743d2bf91..5672b5849401 100644 --- a/arch/arm/mach-shmobile/headsmp-apmu.S +++ b/arch/arm/mach-shmobile/headsmp-apmu.S @@ -31,7 +31,9 @@ ENTRY(shmobile_init_cntvoff) ret lr ENDPROC(shmobile_init_cntvoff) +#ifdef CONFIG_SMP ENTRY(shmobile_boot_apmu) bl shmobile_init_cntvoff b secondary_startup ENDPROC(shmobile_boot_apmu) +#endif -- 2.9.0
next reply other threads:[~2017-10-05 12:09 UTC|newest] Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-10-05 12:09 Arnd Bergmann [this message] 2017-10-05 12:09 ` [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build Arnd Bergmann 2017-10-05 12:25 ` Geert Uytterhoeven 2017-10-05 12:25 ` Geert Uytterhoeven 2017-10-05 12:25 ` Geert Uytterhoeven 2017-10-05 20:29 ` Arnd Bergmann 2017-10-05 20:29 ` Arnd Bergmann 2017-10-05 20:29 ` Arnd Bergmann 2017-10-06 9:28 ` Simon Horman 2017-10-06 9:28 ` Simon Horman 2017-10-06 9:28 ` Simon Horman 2017-10-06 9:39 ` Simon Horman 2017-10-06 9:39 ` Simon Horman 2017-10-06 9:39 ` Simon Horman 2017-10-10 8:12 [GIT PULL] Second Round of Renesas ARM Based SoC Updates for v4.15 Simon Horman 2017-10-10 8:12 ` [PATCH] ARM: shmobile: rcar-gen2: fix non-SMP build Simon Horman 2017-10-10 8:12 ` Simon Horman 2017-10-10 9:25 ` Sergei Shtylyov 2017-10-10 9:25 ` Sergei Shtylyov 2017-10-11 7:42 ` Simon Horman 2017-10-11 7:42 ` Simon Horman
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20171005120914.465582-1-arnd@arndb.de \ --to=arnd@arndb.de \ --cc=geert+renesas@glider.be \ --cc=horms@verge.net.au \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-renesas-soc@vger.kernel.org \ --cc=magnus.damm@gmail.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.