From 546db14ee74118296f425f3b91634fb767d67290 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 27 Jan 2000 01:05:20 +0000 Subject: Merge with Linux 2.3.23. The new bootmem stuff has broken various platforms. At this time I've only verified that IP22 support compiles and IP27 actually works. --- arch/mips/sgi/kernel/setup.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'arch/mips/sgi/kernel/setup.c') 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 -- cgit v1.2.3