ARM: 8302/1: Add a secondary_startup that assumes ARM mode
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 30 Jan 2015 23:25:30 +0000 (00:25 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 10 Feb 2015 10:23:13 +0000 (10:23 +0000)
commitbafe5865834c0cc0d0f937deecc275ccdd588ce8
tree76073d335eb19d674c02adb2e9b6e0d682bd169a
parentada63d40747128d922d69f73a37b65e1e5403cdf
ARM: 8302/1: Add a secondary_startup that assumes ARM mode

Some platforms always enter the kernel in ARM mode even if the
kernel is compiled for THUMB2. Add a small wrapper on top of
secondary_startup() that switches into THUMB2 mode.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/head.S