summaryrefslogtreecommitdiff
path: root/arch/arm/common
diff options
context:
space:
mode:
authorJean-Philippe Brucker <jean-philippe.brucker@arm.com>2016-02-19 10:04:45 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2016-02-22 11:39:13 (GMT)
commitc7edd7f99cdaec65e9303b4c9edc19bb595564ed (patch)
treecaec97b7f8b37d633ed8979196d12242ac0596f7 /arch/arm/common
parente972c37459c813190461dabfeaac228e00aae259 (diff)
downloadlinux-c7edd7f99cdaec65e9303b4c9edc19bb595564ed.tar.xz
ARM: 8534/1: virt: fix hyp-stub build for pre-ARMv7 CPUs
ARMv6 CPUs do not have virtualisation extensions, but hyp-stub.S is still included into the image to keep it generic. In order to use ARMv7 instructions during HYP initialisation, add -march=armv7-a flag to hyp-stub's build. On an ARMv6 CPU, __hyp_stub_install returns as soon as it detects that the mode isn't HYP, so we will never reach those instructions. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common')
0 files changed, 0 insertions, 0 deletions