summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/kernel/system.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-07-01 08:51:00 +0000
committerRalf Baechle <ralf@linux-mips.org>1997-07-01 08:51:00 +0000
commitf6e99e19dd9306a7d02db30c6dce06717598507d (patch)
treed9b0a282149cbfcab4ab27e6231963205c9e4119 /arch/mips/sgi/kernel/system.c
parentcc32ff645cc4c7a2fb88c11bdb35604e279df04b (diff)
The crappy firmware may explode on us when we call it with
SCACHE cache enabled, so we read out the ARCS configuration data as early as possible.
Diffstat (limited to 'arch/mips/sgi/kernel/system.c')
-rw-r--r--arch/mips/sgi/kernel/system.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/mips/sgi/kernel/system.c b/arch/mips/sgi/kernel/system.c
index 051ad09c5..543fe82f2 100644
--- a/arch/mips/sgi/kernel/system.c
+++ b/arch/mips/sgi/kernel/system.c
@@ -1,7 +1,9 @@
-/* $Id: system.c,v 1.2 1996/06/10 16:38:32 dm Exp $
+/*
* system.c: Probe the system type using ARCS prom interface library.
*
* Copyright (C) 1996 David S. Miller (dm@engr.sgi.com)
+ *
+ * $Id: system.c,v 1.2 1997/06/28 22:47:45 ralf Exp $
*/
#include <linux/kernel.h>
#include <linux/types.h>
@@ -88,6 +90,10 @@ static int string_to_cpu(char *s)
return 0;
}
+/*
+ * We' call this early before loadmmu(). If we do the other way around
+ * the firmware will crash and burn.
+ */
void sgi_sysinit(void)
{
pcomponent *p, *toplev, *cpup = 0;