OSDN Git Service

arm64: mm: Fix column alignment for UXN in kernel_page_tables
authorMark Brown <broonie@kernel.org>
Thu, 21 Nov 2019 13:51:32 +0000 (13:51 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 4 Dec 2019 11:44:29 +0000 (11:44 +0000)
commitcba779d80a5d4ccb8bdeb799abd02bf7ba9be111
tree73a9c87f51af80fc98754ac390e7bdd8ef3a1d23
parentca2ef4ffabbef25644e02a98b0f48869f8be0375
arm64: mm: Fix column alignment for UXN in kernel_page_tables

UXN is the only individual PTE bit other than the PTE_ATTRINDX_MASK ones
which doesn't have both a set and a clear value provided, meaning that the
columns in the table won't all be aligned. The PTE_ATTRINDX_MASK values
are all both mutually exclusive and longer so are listed last to make a
single final column for those values. Ensure everything is aligned by
providing a clear value for UXN.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/dump.c