summaryrefslogtreecommitdiffstats
path: root/arch/mips/mm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/mm')
-rw-r--r--arch/mips/mm/r2300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mm/r2300.c b/arch/mips/mm/r2300.c
index 51bf703cd..5482cc339 100644
--- a/arch/mips/mm/r2300.c
+++ b/arch/mips/mm/r2300.c
@@ -280,7 +280,7 @@ static inline unsigned long get_phys_page (unsigned long addr,
pte = pte_offset(pmd, addr);
if((physpage = pte_val(*pte)) & _PAGE_VALID)
- return KSEG1ADDR(physpage & PAGE_MASK);
+ return KSEG0ADDR(physpage & PAGE_MASK);
else
return 0;
}