diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-07-31 23:13:59 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-07-31 23:13:59 +0000 |
commit | 9f069616f19cf17304c6ba384fd4bf470e89aeb8 (patch) | |
tree | 95fb8effc96aeff4d7b9e66c02c011a322bbb370 /arch/mips | |
parent | 17d285e537c498cf18ce79a52ca553ea964f389b (diff) |
R3000 cache bugfix from Maciej.
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/mm/r2300.c | 2 |
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; } |