diff options
author | Dave Martin <dave.martin@linaro.org> | 2011-08-19 18:00:08 +0100 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-22 12:29:12 -0400 |
commit | ee49866febeac921a878088c58da1fdc0c0073f6 (patch) | |
tree | 745dd6fc4a2610162349fb1b85009c1af330f36f /arch/x86/kvm | |
parent | 9b45bd9beb2bc6ab6aade3f1fac4885c2c16839e (diff) |
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>
(cherry picked from commit 07ed43553f9ceefe5e3cbd25da0f6ff912b4fedb)
Diffstat (limited to 'arch/x86/kvm')
0 files changed, 0 insertions, 0 deletions