projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1791250
)
ARM: OMAP5 / DRA7: Fix HYP mode boot for thumb2 build
author
Matthijs van Duin
<matthijsvanduin@gmail.com>
Thu, 16 Feb 2017 00:05:04 +0000
(
01:05
+0100)
committer
Tony Lindgren
<tony@atomide.com>
Thu, 16 Feb 2017 21:12:15 +0000
(13:12 -0800)
'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>
arch/arm/mach-omap2/omap-headsmp.S
patch
|
blob
|
history
diff --git
a/arch/arm/mach-omap2/omap-headsmp.S
b/arch/arm/mach-omap2/omap-headsmp.S
index fe36ce2734d47a81f8dd5cbfdf72e9f6717df903..4c6f14cf92a82e3dbf8d7ceeb985686feb79e924 100644
(file)
--- 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