diff options
author | Abhilash Kesavan <a.kesavan@samsung.com> | 2014-05-26 01:54:56 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-05-31 01:09:54 -0400 |
commit | 4081503b436c4b28c7cefed9ed437b6662b6ab1f (patch) | |
tree | 8c5a89a9b2031a24b4aff26f3018a24ee742f668 /arch/arm/mach-exynos/Makefile | |
parent | fe61f9fd52079143c2cecc5a164dc6cfbe6b0223 (diff) |
ARM: exynos: Fix "allmodconfig" build errors in mcpm and hotplug
This fixes the following build errors:
/tmp/ccRbZlaA.s: Assembler messages:
/tmp/ccRbZlaA.s:69: Error: selected processor does not support ARM mode `isb '
/tmp/ccRbZlaA.s:75: Error: selected processor does not support ARM mode `isb '
/tmp/ccRbZlaA.s:76: Error: selected processor does not support ARM mode `dsb '
make[1]: *** [arch/arm/mach-exynos/hotplug.o] Error 1
/tmp/ccJEg4jw.s: Assembler messages:
/tmp/ccJEg4jw.s:454: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:455: Error: selected processor does not support ARM mode `dsb'
/tmp/ccJEg4jw.s:465: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:474: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:475: Error: selected processor does not support ARM mode `dsb'
/tmp/ccJEg4jw.s:516: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:525: Error: selected processor does not support ARM mode `isb'
/tmp/ccJEg4jw.s:526: Error: selected processor does not support ARM mode `dsb'
make[1]: *** [arch/arm/mach-exynos/mcpm-exynos.o] Error 1
Reported-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Abhilash Kesavan <a.kesavan@samsung.com>
Tested-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-exynos/Makefile')
-rw-r--r-- | arch/arm/mach-exynos/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/Makefile b/arch/arm/mach-exynos/Makefile index 97af694291f1..9f3258880949 100644 --- a/arch/arm/mach-exynos/Makefile +++ b/arch/arm/mach-exynos/Makefile | |||
@@ -23,8 +23,10 @@ obj-$(CONFIG_CPU_IDLE) += cpuidle.o | |||
23 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o | 23 | obj-$(CONFIG_SMP) += platsmp.o headsmp.o |
24 | 24 | ||
25 | obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o | 25 | obj-$(CONFIG_HOTPLUG_CPU) += hotplug.o |
26 | CFLAGS_hotplug.o += -march=armv7-a | ||
26 | 27 | ||
27 | plus_sec := $(call as-instr,.arch_extension sec,+sec) | 28 | plus_sec := $(call as-instr,.arch_extension sec,+sec) |
28 | AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) | 29 | AFLAGS_exynos-smc.o :=-Wa,-march=armv7-a$(plus_sec) |
29 | 30 | ||
30 | obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o | 31 | obj-$(CONFIG_EXYNOS5420_MCPM) += mcpm-exynos.o |
32 | CFLAGS_mcpm-exynos.o += -march=armv7-a | ||