]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Tue, 6 Sep 2011 23:48:36 +0000 (00:48 +0100)
commit771d3865b9233419d79a5d17de4a918bbf1222b5
tree2469e7ffad21bef3322ed5261630ba1a9d6d0f3c
parent9d3f4ea85ee0956127ce9d187e04afb07d201996
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