]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Fix typo in the pmdp_huge_get_and_clear() definition
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 5 May 2016 09:43:59 +0000 (10:43 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 6 May 2016 11:46:53 +0000 (12:46 +0100)
commit129e4f2ffbac8a7e2d81b05eddc0364cf737933b
treeb08d33b0a48e16c4227aafe5b34cd9c21563077b
parentafd9dcefdceca4f38f2ddb11003ae2b74d8d9853
arm64: Fix typo in the pmdp_huge_get_and_clear() definition

With hardware AF/DBM support, pmd modifications (transparent huge pages)
should be performed atomically using load/store exclusive. The initial
patches defined the get-and-clear function and __HAVE_ARCH_* macro
without the "huge" word, leaving the pmdp_huge_get_and_clear() to the
default, non-atomic implementation.

Fixes: 15777b3000bd ("arm64: Add support for hardware updates of the access and dirty pte bits")
Cc: <stable@vger.kernel.org> # 4.3+
Reviewed-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/pgtable.h