summaryrefslogtreecommitdiffstats
path: root/arch/mips/sgi/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/sgi/kernel')
-rw-r--r--arch/mips/sgi/kernel/setup.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c
index e49ade621..49df754f9 100644
--- a/arch/mips/sgi/kernel/setup.c
+++ b/arch/mips/sgi/kernel/setup.c
@@ -1,4 +1,4 @@
-/* $Id: setup.c,v 1.27 1999/10/21 00:23:05 ralf Exp $
+/* $Id: setup.c,v 1.28 1999/12/08 11:35:38 ralf Exp $
*
* setup.c: SGI specific setup, including init of the feature struct.
*
@@ -128,6 +128,15 @@ static void __init sgi_irq_setup(void)
#endif
}
+int __init page_is_ram(unsigned long pagenr)
+{
+ if (pagenr < MAP_NR(PAGE_OFFSET + 0x2000UL))
+ return 1;
+ if (pagenr > MAP_NR(PAGE_OFFSET + 0x08002000))
+ return 1;
+ return 0;
+}
+
void __init sgi_setup(void)
{
#ifdef CONFIG_SERIAL_CONSOLE