mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +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