summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2015-10-07 03:48:21 (GMT)
committerScott Wood <scottwood@freescale.com>2015-10-27 23:13:30 (GMT)
commitae73e4ccbc91853259d730fd8c5089bdf06a4fa3 (patch)
treeb02bc5fd3167e3e6219077716f776b46a9a02cff /arch/powerpc/kernel
parentffda09a9941c18d9f08d1176d55588d505f62912 (diff)
downloadlinux-ae73e4ccbc91853259d730fd8c5089bdf06a4fa3.tar.xz
powerpc/book3e-64/kexec: Set "r4 = 0" when entering spinloop
book3e_secondary_core_init will only create a TLB entry if r4 = 0, so do so. Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/misc_64.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S
index 246ad8c..ddbc535 100644
--- 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