arm64: hugetlb: fix the wrong address for several functions
authorHuang Shijie <shijie.huang@arm.com>
Tue, 8 Nov 2016 05:44:39 +0000 (13:44 +0800)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 9 Nov 2016 16:55:13 +0000 (16:55 +0000)
commit0c2f0afe3582c58efeef93bc57bc07d502132618
tree7e06095bc7a54719b27f17fc6b9f12baf1871840
parent20156ce2365d61beaa6f5a78a7a789044e0e7acc
arm64: hugetlb: fix the wrong address for several functions

The libhugetlbfs meets several failures since the following functions
do not use the correct address:
   huge_ptep_get_and_clear()
   huge_ptep_set_access_flags()
   huge_ptep_set_wrprotect()
   huge_ptep_clear_flush()

This patch fixes the wrong address for them.

Signed-off-by: Huang Shijie <shijie.huang@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/hugetlbpage.c