]> 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, 14 Jun 2011 13:43:56 +0000 (14:43 +0100)
commit7b550c77c24831467e059b0daa78a61d3b0a3055
tree43cc2638a3508c4827cb24ca7ebd79c420b368cb
parentfcf79ce12da745e3f1e0037446c953cfbe70cd77
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