]> 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, 9 Aug 2011 14:30:54 +0000 (15:30 +0100)
commit2036e47fe8bd16fc96cc89822783975868c4b3b2
treee15bcf09921907797fba27efb8415954a0034559
parentd576fe14d0e4067c71652868e2883ee974fe07c5
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