]> git.karo-electronics.de Git - linux-beck.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 19:18:08 +0000 (20:18 +0100)
commit736aec92c4e95a993a6e936ba3a90498975f5d62
tree98bfbca71e54003c3509fe400ce7cbcaed1ba2c7
parent3083593700ddf653f765031189805fef56959281
arm64: hugetlb: fix the wrong address for several functions

commit 0c2f0afe3582c58efeef93bc57bc07d502132618 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/mm/hugetlbpage.c