]> git.baikalelectronics.ru Git - kernel.git/commit
arm: mvebu: Fix compile for multiplatform when ARMv6 is selected
authorTony Lindgren <tony@atomide.com>
Fri, 11 Jan 2013 20:05:31 +0000 (12:05 -0800)
committerOlof Johansson <olof@lixom.net>
Fri, 11 Jan 2013 20:17:58 +0000 (12:17 -0800)
commit7c7d2cbc13e0a4c892d917a124035e03c4c8e2c5
treef1225433271f82db7f52dcad2314f159d9c59adf
parent1c73284b21fd5471aa89af84a3bb631218d700ce
arm: mvebu: Fix compile for multiplatform when ARMv6 is selected

Some systems compile in both ARMv6 and ARMv7 into multiplatform
configurations. This means the default compiler flags are for ARMv6,
and we will get:

arch/arm/mach-mvebu/coherency_ll.S: Assembler messages:
arch/arm/mach-mvebu/coherency_ll.S:45: Error: selected processor does not support `dsb'

Fix this by specifying ARMv7 flags for coherency_ll.o.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-mvebu/Makefile