summaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-09-08 01:46:07 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-09-08 01:46:07 +0000
commitfc5bc2bdb7a5fbb01a2491b7a6b7cf5012ee337a (patch)
tree6101c5c2839d0370567a3d677451648ef6334e08 /include/asm-mips
parent24045c13b8d422963215a4ce18f6f73f29ff6e3f (diff)
Fix the bug with seven lives ...
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/pgtable.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/pgtable.h b/include/asm-mips/pgtable.h
index e0c24161a..0ab1f7601 100644
--- a/include/asm-mips/pgtable.h
+++ b/include/asm-mips/pgtable.h
@@ -386,7 +386,7 @@ extern inline pte_t pte_mkyoung(pte_t pte)
extern inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
{
- return __pte(((physpage & PAGE_MASK) - PAGE_OFFSET) | pgprot_val(pgprot));
+ return __pte(physpage | pgprot_val(pgprot);
}
extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot)