mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
Use fixed up pfn.
Signed-off-by: Thiemo Seufer <ths@networkno.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
2b07bd0235
commit
ac5d8c022f
1 changed files with 1 additions and 1 deletions
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue