summaryrefslogtreecommitdiffstats
path: root/arch/mips64
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-08-25 06:33:44 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-08-25 06:33:44 +0000
commit6bd6dbbd3ae53a268a510270bebaab24fff382ca (patch)
tree41d0361e6b48ce74584c9a6fcb475d5054ca4141 /arch/mips64
parentee355114ec6062d00c1376b184b886a39e74fd4e (diff)
Merge with Linux 2.4.0-test6-pre10.
Diffstat (limited to 'arch/mips64')
-rw-r--r--arch/mips64/sgi-ip22/ip22-setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips64/sgi-ip22/ip22-setup.c b/arch/mips64/sgi-ip22/ip22-setup.c
index 937d291d1..a0f429429 100644
--- a/arch/mips64/sgi-ip22/ip22-setup.c
+++ b/arch/mips64/sgi-ip22/ip22-setup.c
@@ -114,9 +114,9 @@ struct kbd_ops sgi_kbd_ops = {
int __init page_is_ram(unsigned long pagenr)
{
- if (pagenr < MAP_NR(PAGE_OFFSET + 0x2000UL))
+ if ((pagenr<<PAGE_SHIFT) < 0x2000UL)
return 1;
- if (pagenr > MAP_NR(PAGE_OFFSET + 0x08002000))
+ if ((pagenr<<PAGE_SHIFT) > 0x08002000)
return 1;
return 0;
}