CVSROOT: /home/cvs
Module name: linux
Changes by: ths@ftp.linux-mips.org 05/04/11 13:24:16
Modified files:
include/asm-mips: pgtable.h
Log message:
Use fixed up pfn.
diff -urN linux/include/asm-mips/pgtable.h linux/include/asm-mips/pgtable.h
--- linux/include/asm-mips/pgtable.h 2005/04/08 18:58:41 1.103
+++ linux/include/asm-mips/pgtable.h 2005/04/11 12:24:16 1.104
@@ -380,7 +380,7 @@
pgprot_t prot)
{
phys_t phys_addr_high = fixup_bigphys_addr(pfn << PAGE_SHIFT, size);
- return remap_pfn_range(vma, vaddr, pfn, size, prot);
+ return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size,
prot);
}
#else
#define io_remap_page_range(vma, vaddr, paddr, size, prot) \
|