[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)
commitba9b5d76372dc290b6ca04dad93927a22c2ac49a
treeda57578e06ded3b2384b4b2a53f32068b592bab1
parent90af774ab150b97c0aa8ed0375f4652be986bdce
[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