]> 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, 20 Sep 2011 13:17:40 +0000 (14:17 +0100)
commit70d4fd7c5dd4296aa7d497a876b4fac9559ed5f8
treecd4b46d0bc2d2c0d5adcbf54ae29a4d1e488b24a
parentd9978103a144f96e4de0afb7ad6fc809fed7614e
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