aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/Makefile
diff options
context:
space:
mode:
authorWei Xu <xuwei5@hisilicon.com>2014-09-24 05:07:48 -0400
committerOlof Johansson <olof@lixom.net>2014-09-24 13:30:39 -0400
commit1aafa57340c6d906a285d7823e0fe68696c1ae07 (patch)
treee6fd8f72af4109c4ccf45306cf79ed0931296283 /arch/arm/mach-hisi/Makefile
parent37bdaf8291a403fbb17a758cccc566226e3b485a (diff)
ARM: hisi: Fix platmcpm compilation when ARMv6 is selected
When compiling with "ARCH=arm" and "allmodconfig", with commit: 9cdc99919a95e8b54c1998b65bb1bfdabd47d27b [2/7] ARM: hisi: enable MCPM implementation we will get: /tmp/cc6DjYjT.s: Assembler messages: /tmp/cc6DjYjT.s:63: Error: selected processor does not support ARM mode `ubfx r1,r0,#8,#8' /tmp/cc6DjYjT.s:761: Error: selected processor does not support ARM mode `isb ' /tmp/cc6DjYjT.s:762: Error: selected processor does not support ARM mode `dsb ' /tmp/cc6DjYjT.s:769: Error: selected processor does not support ARM mode `isb ' /tmp/cc6DjYjT.s:775: Error: selected processor does not support ARM mode `isb ' /tmp/cc6DjYjT.s:776: Error: selected processor does not support ARM mode `dsb ' /tmp/cc6DjYjT.s:795: Error: selected processor does not support ARM mode `isb ' /tmp/cc6DjYjT.s:801: Error: selected processor does not support ARM mode `isb ' /tmp/cc6DjYjT.s:802: Error: selected processor does not support ARM mode `dsb ' Fix platmcpm compilation when ARMv6 is selected. Signed-off-by: Wei Xu <xuwei5@hisilicon.com> Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/mach-hisi/Makefile')
-rw-r--r--arch/arm/mach-hisi/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-hisi/Makefile b/arch/arm/mach-hisi/Makefile
index d64831e6a782..6b7b3033de0b 100644
--- a/arch/arm/mach-hisi/Makefile
+++ b/arch/arm/mach-hisi/Makefile
@@ -2,6 +2,8 @@
2# Makefile for Hisilicon processors family 2# Makefile for Hisilicon processors family
3# 3#
4 4
5CFLAGS_platmcpm.o := -march=armv7-a
6
5obj-y += hisilicon.o 7obj-y += hisilicon.o
6obj-$(CONFIG_MCPM) += platmcpm.o 8obj-$(CONFIG_MCPM) += platmcpm.o
7obj-$(CONFIG_SMP) += platsmp.o hotplug.o headsmp.o 9obj-$(CONFIG_SMP) += platsmp.o hotplug.o headsmp.o