From 0ae8dceaebe3659ee0c3352c08125f403e77ebca Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 28 Sep 1999 22:25:29 +0000 Subject: Merge with 2.3.10. --- arch/mips64/sgi-ip22/system.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'arch/mips64/sgi-ip22/system.c') 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"); } -- cgit v1.2.3