diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 23:45:03 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-26 23:45:03 +0000 |
commit | 42e2c90246d0a16e18646c799c6507f052f17e37 (patch) | |
tree | 0ea7e95e365f552c4c22d62085a8d31c2a731957 | |
parent | ed98036b76c3af9bd47bc0516c4cd6e0be66bb9e (diff) |
Fix another ARC lib user ...
-rw-r--r-- | arch/mips/sgi/kernel/setup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c index 49df754f9..0151fa755 100644 --- a/arch/mips/sgi/kernel/setup.c +++ b/arch/mips/sgi/kernel/setup.c @@ -1,4 +1,4 @@ -/* $Id: setup.c,v 1.28 1999/12/08 11:35:38 ralf Exp $ +/* $Id: setup.c,v 1.29 2000/01/27 01:05:23 ralf Exp $ * * setup.c: SGI specific setup, including init of the feature struct. * @@ -166,7 +166,7 @@ void __init sgi_setup(void) * graphics console, it is set to "d" for the first serial * line and "d2" for the second serial line. */ - ctype = prom_getenv("console"); + ctype = ArcGetEnvironmentVariable("console"); if(*ctype == 'd') { if(*(ctype+1)=='2') console_setup ("ttyS1"); @@ -199,8 +199,8 @@ void __init sgi_setup(void) #ifdef CONFIG_SGI_PROM_CONSOLE console_setup("ttyS0", NULL); #endif - - sgi_volume_set(simple_strtoul(prom_getenv("volume"), NULL, 10)); + + sgi_volume_set(simple_strtoul(ArcGetEnvironmentVariable("volume"), NULL, 10)); #ifdef CONFIG_VT #ifdef CONFIG_SGI_NEWPORT_CONSOLE |