ARM: 7077/1: LPAE: Use a mask for physical addresses in page table entries
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Sep 2011 16:52:36 +0000 (17:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Oct 2011 14:40:06 +0000 (15:40 +0100)
commitd7c5d0dcffb3b5702d9477faceff4b8398e6fed0
treea1b670fac0f11868ff280380dca98db1c3926b46
parent442e70c0b3536e832547eed89629435462f4b515
ARM: 7077/1: LPAE: Use a mask for physical addresses in page table entries

With LPAE, the physical address mask is 40-bit while the page table
entry is 64-bit. This patch introduces PHYS_MASK for the 2-level page
table format, defined as ~0UL.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/pgtable-2level-hwdef.h
arch/arm/include/asm/pgtable.h