Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae73e4cc authored by Scott Wood's avatar Scott Wood
Browse files

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: default avatarScott Wood <scottwood@freescale.com>
parent ffda09a9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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