]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: Use a mask for physical addresses in page table entries
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 31 Jan 2011 13:50:41 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 20 Sep 2011 13:17:40 +0000 (14:17 +0100)
commit655de6b8972acabe6281fb9a15f5d01d2ed92763
tree8b37161ef8a2a6aefe3777046861f60a09ccffdc
parent70d4fd7c5dd4296aa7d497a876b4fac9559ed5f8
ARM: 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>
arch/arm/include/asm/pgtable-2level-hwdef.h
arch/arm/include/asm/pgtable.h