]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6389ceb6b3e941fad999ca98ed4104c93974ae2e
tree2f018afe68b417d43c9f6defc946f94915a4d6a0
parent78d5fe61514fc5dbb1685a78387bfdf71ae380ed
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