diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2014-02-26 11:57:56 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-03-05 02:40:50 (GMT) |
commit | facadba6a12813d8bbc5586261d873fa5f3dd4fa (patch) | |
tree | 635788d6833b451f8c59fdcbfa94563c37f7f9af /arch/arm/mach-imx/headsmp.S | |
parent | c356bdb407baf23b202a6b4d2234114db6ae55bd (diff) | |
download | linux-facadba6a12813d8bbc5586261d873fa5f3dd4fa.tar.xz |
ARM: imx6: build headsmp.o only on CONFIG_SMP
With v7_cpu_resume() being moved out of headsmp.S, all the remaining
code in the file is only needed by CONFIG_SMP build. So we can control
the build of headsmp.o with only obj-$(CONFIG_SMP) now.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/headsmp.S')
-rw-r--r-- | arch/arm/mach-imx/headsmp.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-imx/headsmp.S b/arch/arm/mach-imx/headsmp.S index e4b9fed..6e1a56d 100644 --- a/arch/arm/mach-imx/headsmp.S +++ b/arch/arm/mach-imx/headsmp.S @@ -15,7 +15,6 @@ .section ".text.head", "ax" -#ifdef CONFIG_SMP diag_reg_offset: .word g_diag_reg - . @@ -32,4 +31,3 @@ ENTRY(v7_secondary_startup) set_diag_reg b secondary_startup ENDPROC(v7_secondary_startup) -#endif |