]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: LPAE: Add (pte|pmd)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, 9 Aug 2011 14:30:53 +0000 (15:30 +0100)
commitd576fe14d0e4067c71652868e2883ee974fe07c5
tree9f1e05ff55d4a3aa72f662f4138b1f559693fe87
parent280d62ddcd32e7485d142f65e511753b58a4d944
ARM: LPAE: Add (pte|pmd)val_t type definitions as u32

This patch defines the (pte|pmd)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