[POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors
authorOlof Johansson <olof@lixom.net>
Wed, 25 Oct 2006 22:32:40 +0000 (17:32 -0500)
committerPaul Mackerras <paulus@samba.org>
Wed, 25 Oct 2006 23:20:07 +0000 (09:20 +1000)
Add check for 970GX for __cpu_preinit_ppc970.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/head_64.S

index f12e3c55520d742ff050e1ff43a9638d6459e193..291e3629b5046e67caea8b9dbbbbbb70ca1eca15 100644 (file)
@@ -1641,6 +1641,8 @@ _GLOBAL(__start_initialization_multiplatform)
        cmpwi   r0,0x3c         /* 970FX */
        beq     1f
        cmpwi   r0,0x44         /* 970MP */
+       beq     1f
+       cmpwi   r0,0x45         /* 970GX */
        bne     2f
 1:     bl      .__cpu_preinit_ppc970
 2: