From 9ac30c314529af21ae739375d25c7da78887363b Mon Sep 17 00:00:00 2001 From: Josh Boyer Date: Tue, 4 Dec 2007 13:02:18 -0600 Subject: [PATCH] [POWERPC] 4xx: Fix 440grx setup function to call 440A fixup The mechanism to do the setup for 440A cores changed recently. This fixes the 440grx setup function to call __fixup_440A_mcheck. Signed-off-by: Josh Boyer --- arch/powerpc/kernel/cpu_setup_44x.S | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/cpu_setup_44x.S b/arch/powerpc/kernel/cpu_setup_44x.S index 0de3edbd4b..6250443ab9 100644 --- a/arch/powerpc/kernel/cpu_setup_44x.S +++ b/arch/powerpc/kernel/cpu_setup_44x.S @@ -27,7 +27,11 @@ _GLOBAL(__setup_cpu_440epx) mtlr r4 blr _GLOBAL(__setup_cpu_440grx) - b __plb_disable_wrp + mflr r4 + bl __plb_disable_wrp + bl __fixup_440A_mcheck + mtlr r4 + blr _GLOBAL(__setup_cpu_440gx) _GLOBAL(__setup_cpu_440spe) b __fixup_440A_mcheck -- 2.39.5