diff options
author | Dave Martin <dave.martin@linaro.org> | 2011-08-19 18:00:08 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-17 09:12:41 +0100 |
commit | ef4c53687e0adf5409896c4fa688b15f8d4dc0c0 (patch) | |
tree | d5f472200e98e4863f1b34c8308f719ffc87f606 /arch/arm/mach-vexpress | |
parent | 85519189df91c8aa9c368de0bdcfd7812200e614 (diff) | |
download | blackbird-op-linux-ef4c53687e0adf5409896c4fa688b15f8d4dc0c0.tar.gz blackbird-op-linux-ef4c53687e0adf5409896c4fa688b15f8d4dc0c0.zip |
ARM: 7031/1: entry: Fix Thumb-2 undef handling for multi-CPU kernels
When v6 and >=v7 boards are supported in the same kernel, the
__und_usr code currently makes a build-time assumption that Thumb-2
instructions occurring in userspace don't need to be supported.
Strictly speaking this is incorrect.
This patch fixes the above case by doing a run-time check on the
CPU architecture in these cases. This only affects kernels which
support v6 and >=v7 CPUs together: plain v6 and plain v7 kernels
are unaffected.
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Reviewed-by: Jon Medhurst <tixy@yxit.co.uk>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-vexpress')
0 files changed, 0 insertions, 0 deletions