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>
This commit is contained in:
Scott Wood 2015-10-06 22:48:21 -05:00
parent ffda09a994
commit ae73e4ccbc
1 changed files with 2 additions and 0 deletions

View File

@ -485,6 +485,8 @@ _GLOBAL(kexec_wait)
mtsrr1 r11 mtsrr1 r11
rfid rfid
#else #else
/* Create TLB entry in book3e_secondary_core_init */
li r4,0
ba 0x60 ba 0x60
#endif #endif
#endif #endif