aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/module.c
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2015-06-09 19:24:23 +0100
committerRussell King <[email protected]>2015-06-12 21:17:17 +0100
commit32e55a777f839316ffcabd0c1a5192e5ffca55e7 (patch)
tree6912bc1737fd9f374914bb7244b5b95751086cf1 /arch/arm/kernel/module.c
parent02b4e2756e01c623cc4dbceae4b07be75252db5b (diff)
ARM: 8389/1: Add cpu_resume_arm() for firmwares that resume in ARM state
Some platforms always enter the kernel in the ARM state even if the kernel is compiled for THUMB2. Add a small wrapper on top of cpu_resume() that switches into THUMB2 state. This provides the functionality to fix a problem reported by Kevin Hilman on next-20150601 where the ifc6410 fails to boot a THUMB2 kernel because the platform's firmware always enters the kernel in ARM mode from deep idle states. (rmk: tweaked to work without BSYM->badr changes.) Reported-by: Kevin Hilman <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Lina Iyer <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'arch/arm/kernel/module.c')
0 files changed, 0 insertions, 0 deletions