[POWERPC] 4xx: Fix 440grx setup function to call 440A fixup
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>
Tue, 4 Dec 2007 19:02:18 +0000 (13:02 -0600)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sun, 23 Dec 2007 19:27:37 +0000 (13:27 -0600)
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 <jwboyer@linux.vnet.ibm.com>
arch/powerpc/kernel/cpu_setup_44x.S

index 0de3edbd4bb8ec2aba3c2d0bea3174e56ce36888..6250443ab9c999775e431ac4fa9325ba73534b22 100644 (file)
@@ -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