ARM: 6667/1: Fix early_pte_alloc() assumption about the Linux PTE
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 14 Feb 2011 11:58:04 +0000 (12:58 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 14 Feb 2011 19:46:56 +0000 (19:46 +0000)
commit410f14837a92177242a403c20d0a0906fe357019
tree5656e72b0a03d54d9e28ddb1210418eba12333a6
parent36bb94ba36f332de767cfaa3af6a5136435a3a9c
ARM: 6667/1: Fix early_pte_alloc() assumption about the Linux PTE

With LPAE we no longer have software bits in a separate Linux PTE and
the early_pte_alloc() function should pass PTE_HWTABLE_OFF +
PTE_HWTABLE_SIZE to early_alloc() to avoid allocating extra memory.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/mmu.c