]> git.baikalelectronics.ru Git - kernel.git/commit
[ARM] 3746/2: Userspace helpers must be Thumb mode interworkable
authorNicolas Pitre <nico@cam.org>
Fri, 18 Aug 2006 16:20:15 +0000 (17:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 18 Aug 2006 16:20:15 +0000 (17:20 +0100)
commit2a0a2ac11f97e033bf6319c090b003fb3f9d5996
treeda57578e06ded3b2384b4b2a53f32068b592bab1
parentc9b75c285b76d8daa003ebbdd64cc1af2172b25b
[ARM] 3746/2: Userspace helpers must be Thumb mode interworkable

Patch from Nicolas Pitre

The userspace helpers in clean/arch/arm/kernel/entry-armv.S are called
directly in/from userspace. They need to cope with being called from
Thumb code.

Patch below uses the bx interworking instruction when
CONFIG_ARM_THUMB=y.

Based on an earlier patch from Paul Brook <paul@codesourcery.com>

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/entry-armv.S