projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffda09a
)
powerpc/book3e-64/kexec: Set "r4 = 0" when entering spinloop
author
Scott Wood
<scottwood@freescale.com>
Wed, 7 Oct 2015 03:48:21 +0000
(22:48 -0500)
committer
Scott Wood
<scottwood@freescale.com>
Tue, 27 Oct 2015 23:13:30 +0000
(18:13 -0500)
book3e_secondary_core_init will only create a TLB entry if r4 = 0,
so do so.
Signed-off-by: Scott Wood <scottwood@freescale.com>
arch/powerpc/kernel/misc_64.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/misc_64.S
b/arch/powerpc/kernel/misc_64.S
index 246ad8c525b1a29d54eb3fcad4769831b5463095..ddbc535a6d0f4792141f1f0466802060b7492224 100644
(file)
--- a/
arch/powerpc/kernel/misc_64.S
+++ b/
arch/powerpc/kernel/misc_64.S
@@
-485,6
+485,8
@@
_GLOBAL(kexec_wait)
mtsrr1 r11
rfid
#else
+ /* Create TLB entry in book3e_secondary_core_init */
+ li r4,0
ba 0x60
#endif
#endif