summaryrefslogtreecommitdiffstats
path: root/arch/mips64/sgi-ip22/system.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
committerRalf Baechle <ralf@linux-mips.org>1999-09-28 22:25:29 +0000
commit0ae8dceaebe3659ee0c3352c08125f403e77ebca (patch)
tree5085c389f09da78182b899d19fe1068b619a69dd /arch/mips64/sgi-ip22/system.c
parent273767781288c35c9d679e908672b9996cda4c34 (diff)
Merge with 2.3.10.
Diffstat (limited to 'arch/mips64/sgi-ip22/system.c')
-rw-r--r--arch/mips64/sgi-ip22/system.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/mips64/sgi-ip22/system.c b/arch/mips64/sgi-ip22/system.c
index 69237a9f5..bd2a313f0 100644
--- a/arch/mips64/sgi-ip22/system.c
+++ b/arch/mips64/sgi-ip22/system.c
@@ -66,10 +66,10 @@ void __init sgi_sysinit(void)
/* The root component tells us what machine architecture we
* have here.
*/
- p = prom_getchild(PROM_NULL_COMPONENT);
+ p = ArcGetChild(PROM_NULL_COMPONENT);
/* Now scan for cpu(s). */
- toplev = p = prom_getchild(p);
+ toplev = p = ArcGetChild(p);
while(p) {
int ncpus = 0;
@@ -84,7 +84,7 @@ void __init sgi_sysinit(void)
cpup = p;
cputype = string_to_cpu(cpup->iname);
}
- p = prom_getsibling(p);
+ p = ArcGetPeer(p);
}
if(cputype == -1) {
prom_printf("\nYeee, could not find cpu ARCS component\n");
@@ -92,7 +92,7 @@ void __init sgi_sysinit(void)
prom_getchar();
romvec->imode();
}
- p = prom_getchild(cpup);
+ p = ArcGetChild(cpup);
while(p) {
switch(p->class) {
case processor:
@@ -129,7 +129,7 @@ void __init sgi_sysinit(void)
default:
break;
};
- p = prom_getsibling(p);
+ p = ArcGetPeer(p);
}
printk("\n");
}