From 9f069616f19cf17304c6ba384fd4bf470e89aeb8 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Mon, 31 Jul 2000 23:13:59 +0000 Subject: R3000 cache bugfix from Maciej. --- arch/mips/mm/r2300.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/mips') 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; } -- cgit v1.2.3