diff options
author | Punit Agrawal <punit.agrawal@arm.com> | 2017-08-22 11:42:45 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2017-08-22 15:57:02 +0100 |
commit | 30f3ac00ad2f822937839c95cbb22ce483190c4c (patch) | |
tree | afcbfc8b6a2d9743b9367cc79c38259e9be609d3 /drivers/usb/core | |
parent | d8bdcff2876424d44d08a4d16a54fee518f9d5b8 (diff) | |
download | linux-30f3ac00ad2f822937839c95cbb22ce483190c4c.tar.gz linux-30f3ac00ad2f822937839c95cbb22ce483190c4c.tar.xz |
arm64: hugetlb: Handle swap entries in huge_pte_offset() for contiguous hugepages
huge_pte_offset() was updated to correctly handle swap entries for
hugepages. With the addition of the size parameter, it is now possible
to disambiguate whether the request is for a regular hugepage or a
contiguous hugepage.
Fix huge_pte_offset() for contiguous hugepages by using the size to find
the correct page table entry.
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Cc: David Woods <dwoods@mellanox.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'drivers/usb/core')
0 files changed, 0 insertions, 0 deletions