ARM: 7059/1: LPAE: Use PMD_(SHIFT|SIZE|MASK) instead of PGDIR_*
authorCatalin Marinas <catalin.marinas@arm.com>
Tue, 23 Aug 2011 13:07:23 +0000 (14:07 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 23 Aug 2011 14:30:33 +0000 (15:30 +0100)
commite73fc88e19d74fd4dd664cff45b88caab8cde45c
tree2f018afe68b417d43c9f6defc946f94915a4d6a0
parent01f461a3a4321a9f98b6b508f32d2396c5704b7c
ARM: 7059/1: LPAE: Use PMD_(SHIFT|SIZE|MASK) instead of PGDIR_*

PGDIR_SHIFT and PMD_SHIFT for the classic 2-level page table format have
the same value (21). This patch converts the PGDIR_* uses in the kernel
to the PMD_* equivalent so that LPAE builds can reuse the same code.

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