diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-09-08 01:46:07 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-09-08 01:46:07 +0000 |
commit | fc5bc2bdb7a5fbb01a2491b7a6b7cf5012ee337a (patch) | |
tree | 6101c5c2839d0370567a3d677451648ef6334e08 | |
parent | 24045c13b8d422963215a4ce18f6f73f29ff6e3f (diff) |
Fix the bug with seven lives ...
-rw-r--r-- | include/asm-mips/pgtable.h | 2 |
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) |