diff options
author | Thiemo Seufer <ths@networkno.de> | 2005-04-11 08:24:16 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:31:03 -0400 |
commit | ac5d8c022f91d790888cc8c627b8010d3c31a300 (patch) | |
tree | df575caf4a8020150b8d1be11c41327f888edcf4 | |
parent | 2b07bd0235ca51816e4e43cb6781973358553a1b (diff) |
Use fixed up pfn.
Signed-off-by: Thiemo Seufer <ths@networkno.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-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 34d06fe7caac..754ec6c5a8f7 100644 --- a/include/asm-mips/pgtable.h +++ b/include/asm-mips/pgtable.h | |||
@@ -372,7 +372,7 @@ static inline int io_remap_pfn_range(struct vm_area_struct *vma, | |||
372 | pgprot_t prot) | 372 | pgprot_t prot) |
373 | { | 373 | { |
374 | phys_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); | 374 | phys_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size); |
375 | return remap_pfn_range(vma, vaddr, pfn, size, prot); | 375 | return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); |
376 | } | 376 | } |
377 | #else | 377 | #else |
378 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ | 378 | #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ |