summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-07-13 23:28:18 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>1998-07-13 23:28:18 +0000
commit1939aa02fa940364e6236334909ac0fe012d4a22 (patch)
tree1ad9ae04a6f19dff47d09f02bc31fd3c575240b2
parentb16668c9613e59dc15235186e26f5cf6f4cd9512 (diff)
fixed physical mapping
-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 3d96baec7..02ec7ef51 100644
--- a/include/asm-mips/pgtable.h
+++ b/include/asm-mips/pgtable.h
@@ -346,7 +346,7 @@ extern inline pte_t mk_pte(unsigned long page, pgprot_t pgprot)
extern inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
{
- return __pte((physpage - PAGE_OFFSET) | pgprot_val(pgprot));
+ return __pte(physpage | pgprot_val(pgprot));
}
extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot)