]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: mvebu: Fix pmsu compilation when ARMv6 is selected
authorVincent Stehlé <vincent.stehle@laposte.net>
Tue, 6 May 2014 20:23:02 +0000 (22:23 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 8 May 2014 16:55:55 +0000 (16:55 +0000)
commitb8b8829058a9af445c1f8ff3047c6f2260d5c488
treebbaa2e01bb2cd9d60e2d2122bca925f335f29063
parent652778f375e9957f51556d814c7facfb11fd8b0c
ARM: mvebu: Fix pmsu compilation when ARMv6 is selected

When compiling for multiplatform for both ARMv6 and ARMv7, the default compiler
flags are for ARMv6, and we will get:

  /tmp/ccwDEzd0.s: Assembler messages:
  /tmp/ccwDEzd0.s:639: Error: selected processor does not support ARM mode `isb '
  /tmp/ccwDEzd0.s:645: Error: selected processor does not support ARM mode `isb '
  /tmp/ccwDEzd0.s:646: Error: selected processor does not support ARM mode `dsb '
  /tmp/ccwDEzd0.s:695: Error: selected processor does not support ARM mode `isb '
  make[1]: *** [arch/arm/mach-mvebu/pmsu.o] Error 1

Fix this in a similar manner than done previously in commit
6d14440f856c98ba7aaa805dbdb52b8c749baf40, by specifying ARMv7 flags for pmsu.o.

Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
Link: https://lkml.kernel.org/r/1399407782-29091-1-git-send-email-vincent.stehle@laposte.net
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Gregory Clement <gregory.clement@free-electrons.com>
Cc: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-mvebu/Makefile