]> www.infradead.org Git - users/dwmw2/linux.git/commit
arm64: hugetlb: Spring clean huge pte accessors
authorSteve Capper <steve.capper@arm.com>
Tue, 22 Aug 2017 10:42:43 +0000 (11:42 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 22 Aug 2017 14:52:12 +0000 (15:52 +0100)
commit29a7287dceb76729960a15095fbbfcffa2179b07
tree904551c588a908c85cd1edf508fd61b916c5974a
parentb5b0be86d7181ed82cee9d8ac5073a48f038a305
arm64: hugetlb: Spring clean huge pte accessors

This patch aims to re-structure the huge pte accessors without affecting
their functionality. Control flow is changed to reduce indentation and
expanded use is made of post for loop variable modification.

It is then much easier to add break-before-make semantics in a subsequent
patch.

Cc: David Woods <dwoods@mellanox.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/hugetlbpage.c