فهرست منبع

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>
Scott Wood 9 سال پیش
والد
کامیت
ae73e4ccbc
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      arch/powerpc/kernel/misc_64.S

+ 2 - 0
arch/powerpc/kernel/misc_64.S

@@ -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