diff options
author | Matthijs van Duin <matthijsvanduin@gmail.com> | 2017-02-16 01:05:04 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2017-02-16 13:12:15 -0800 |
commit | 448c077eeb02240c430db2a2c3bf5285a4c65d66 (patch) | |
tree | bac01ada77012c79701d01ab4ad6f4014e9eeda5 /arch/arm/mach-omap2 | |
parent | 179125085bd4ca70e8e028913193a93653bd12f7 (diff) | |
download | linux-448c077eeb02240c430db2a2c3bf5285a4c65d66.tar.gz linux-448c077eeb02240c430db2a2c3bf5285a4c65d66.tar.bz2 linux-448c077eeb02240c430db2a2c3bf5285a4c65d66.zip |
ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
'adr' yields a data-pointer, not a function-pointer.
Fixes: 999f934de195 ("ARM: omap5/dra7xx: Enable booting secondary
CPU in HYP mode")
Signed-off-by: Matthijs van Duin <matthijsvanduin@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap-headsmp.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap-headsmp.S b/arch/arm/mach-omap2/omap-headsmp.S index fe36ce2734d4..4c6f14cf92a8 100644 --- a/arch/arm/mach-omap2/omap-headsmp.S +++ b/arch/arm/mach-omap2/omap-headsmp.S @@ -17,6 +17,7 @@ #include <linux/linkage.h> #include <linux/init.h> +#include <asm/assembler.h> #include "omap44xx.h" @@ -66,7 +67,7 @@ wait_2: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 cmp r0, r4 bne wait_2 ldr r12, =API_HYP_ENTRY - adr r0, hyp_boot + badr r0, hyp_boot smc #0 hyp_boot: b omap_secondary_startup |