From: Thiemo Seufer Date: Mon, 11 Apr 2005 12:24:16 +0000 (+0000) Subject: Use fixed up pfn. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac5d8c022f91d790888cc8c627b8010d3c31a300;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Use fixed up pfn. Signed-off-by: Thiemo Seufer Signed-off-by: Ralf Baechle --- 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, 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_pfn_range(vma, vaddr, pfn, size, prot) \