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)
committerAlex Shi <alex.shi@linaro.org>
Wed, 22 Mar 2017 09:59:12 +0000 (17:59 +0800)
commit4fc54a30664c50ccca342ec0a81c8c1efce0a0bf
treea1d8378c8c7595d701487c405fdf50c3bcbf171a
parent7f42466b9d485dd9bba16004003e84c61e712391
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>
(cherry picked from commit 0c2f0afe3582c58efeef93bc57bc07d502132618)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/mm/hugetlbpage.c