]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: Add (pte|pmd|pgd|pgprot)val_t type definitions as u32
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 31 Jan 2011 13:50:40 +0000 (13:50 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 14 Jun 2011 13:43:56 +0000 (14:43 +0100)
commit586680224bc0cfc908962271df5cf7e15ffb1c56
treeb33cf8d70a7c90a57d65b869035e44d12a952791
parent6267a599d49e4f0bbb3f3e934053bc9933a71eff
ARM: LPAE: Add (pte|pmd|pgd|pgprot)val_t type definitions as u32

This patch defines the (pte|pmd|pgd|pgprot)val_t as u32 and changes the
page table types to be based on these. The PMD bits are converted to the
corresponding type using the _AT macro.

The flush_pmd_entry/clean_pmd_entry argument was changed to (void *) to
allow them to be used with both PGD and PMD pointers and avoid code
duplication.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm/include/asm/pgalloc.h
arch/arm/include/asm/pgtable-2level-hwdef.h
arch/arm/include/asm/pgtable-2level-types.h
arch/arm/include/asm/tlbflush.h
arch/arm/mm/mm.h
arch/arm/mm/mmu.c