linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ths@linux-mips.org
Date: Mon, 11 Apr 2005 13:24:23 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
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)             \

<Prev in Thread] Current Thread [Next in Thread>