diff options
Diffstat (limited to 'arch/mips/sgi')
-rw-r--r-- | arch/mips/sgi/kernel/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/sgi/kernel/setup.c b/arch/mips/sgi/kernel/setup.c index 051364fe3..29891e47a 100644 --- a/arch/mips/sgi/kernel/setup.c +++ b/arch/mips/sgi/kernel/setup.c @@ -129,9 +129,9 @@ static void __init sgi_irq_setup(void) 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; } |