From: Scott Wood Date: Wed, 7 Oct 2015 03:48:21 +0000 (-0500) Subject: powerpc/book3e-64/kexec: Set "r4 = 0" when entering spinloop X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ae73e4ccbc91853259d730fd8c5089bdf06a4fa3;p=linux-beck.git 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 --- diff --git a/arch/powerpc/kernel/misc_64.S b/arch/powerpc/kernel/misc_64.S index 246ad8c525b1..ddbc535a6d0f 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