aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/headsmp-apmu.S
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2018-06-19 19:20:49 +0200
committerSimon Horman <horms+renesas@verge.net.au>2018-06-27 17:08:52 +0200
commit23295aeebf0706c717adf55487779b19a3605e21 (patch)
tree2815c470e4a129b89a29c19d3185a770fc13bdcc /arch/arm/mach-shmobile/headsmp-apmu.S
parentARM: shmobile: convert to SPDX identifier (diff)
downloadlinux-dev-23295aeebf0706c717adf55487779b19a3605e21.tar.xz
linux-dev-23295aeebf0706c717adf55487779b19a3605e21.zip
ARM: shmobile: rcar-gen2: Stop compiling headsmp-apmu on !SMP
As of commit cad160ed0a94927e ("ARM: shmobile: Convert file to use cntvoff"), there's no non-SMP code left in headsmp-apmu.S. Hence build the file for SMP only, and drop the no longer needed check for CONFIG_SMP inside the file. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/headsmp-apmu.S')
-rw-r--r--arch/arm/mach-shmobile/headsmp-apmu.S2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/headsmp-apmu.S b/arch/arm/mach-shmobile/headsmp-apmu.S
index a7b4bc7a087b..fabe9cadd12e 100644
--- a/arch/arm/mach-shmobile/headsmp-apmu.S
+++ b/arch/arm/mach-shmobile/headsmp-apmu.S
@@ -8,9 +8,7 @@
#include <linux/linkage.h>
#include <asm/assembler.h>
-#ifdef CONFIG_SMP
ENTRY(shmobile_boot_apmu)
bl secure_cntvoff_init
b secondary_startup
ENDPROC(shmobile_boot_apmu)
-#endif