]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: Use PMD_(SHIFT|SIZE|MASK) instead of PGDIR_*
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 31 Jan 2011 13:50:39 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 9 Aug 2011 14:30:52 +0000 (15:30 +0100)
commit7dc9dab098c2fae0684c77f9db54687540cecd46
treea89850fbdaab7aefd89ada0725af09e0b0b41338
parent693656221d6506ada915e8a7e12f604806e7275c
ARM: 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>
arch/arm/kernel/module.c
arch/arm/mm/dma-mapping.c
arch/arm/mm/mmu.c