From: Olof Johansson Date: Wed, 25 Oct 2006 22:32:40 +0000 (-0500) Subject: [POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors X-Git-Tag: v2.6.19-rc4~91^2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=190a24f5605d95b786c92280bf7a51ebef43f29f;p=~shefty%2Frdma-dev.git [POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors Add check for 970GX for __cpu_preinit_ppc970. Signed-off-by: Olof Johansson Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S index f12e3c55520..291e3629b50 100644 --- a/arch/powerpc/kernel/head_64.S +++ b/arch/powerpc/kernel/head_64.S @@ -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: