arm64: hugetlb: remove spurious calls to huge_ptep_offset()
authorSteve Capper <[email protected]>
Thu, 6 Jul 2017 22:39:33 +0000 (15:39 -0700)
committerLinus Torvalds <[email protected]>
Thu, 6 Jul 2017 23:24:34 +0000 (16:24 -0700)
commitf0b38d65c9d0b42f3e6d861a18906d49441bf78e
tree6ee96bb2fae98fc4a10b2ae399b625b8287428e0
parentbb9dd3df8ee9a0995da4c35251e6a8e2eefe0b41
arm64: hugetlb: remove spurious calls to huge_ptep_offset()

We don't need to call huge_ptep_offset as our accessors are already
supplied with the pte_t *.  This patch removes those spurious calls.

[[email protected]: resolve rebase conflicts due to patch re-ordering]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Steve Capper <[email protected]>
Signed-off-by: Punit Agrawal <[email protected]>
Cc: David Woods <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Aneesh Kumar K.V <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Naoya Horiguchi <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Hillf Danton <[email protected]>
Cc: Michal Hocko <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/arm64/mm/hugetlbpage.c