summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2006-10-25 17:32:40 -0500
committerPaul Mackerras <paulus@samba.org>2006-10-26 09:20:07 +1000
commit190a24f5605d95b786c92280bf7a51ebef43f29f (patch)
treee1200e7643562603b5207764cb4abb4d745e2b43 /arch/powerpc
parentf4d4c354bca18210296cc0a8f592c0cdb720bf20 (diff)
downloadop-kernel-dev-190a24f5605d95b786c92280bf7a51ebef43f29f.zip
op-kernel-dev-190a24f5605d95b786c92280bf7a51ebef43f29f.tar.gz
[POWERPC] Make sure __cpu_preinit_ppc970 gets called on 970GX processors
Add check for 970GX for __cpu_preinit_ppc970. Signed-off-by: Olof Johansson <olof@lixom.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/kernel/head_64.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/head_64.S b/arch/powerpc/kernel/head_64.S
index f12e3c5..291e362 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:
OpenPOWER on IntegriCloud