]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ARM: 7076/1: LPAE: Add (pte|pmd)val_t type definitions as u32
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 5 Sep 2011 16:51:56 +0000 (17:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Oct 2011 14:40:05 +0000 (15:40 +0100)
commit442e70c0b3536e832547eed89629435462f4b515
treef4a4869e204741792695c06824a8fb2aec9a49f9
parent17f57211969bddca2e922299a2530b1c65ccabfa
ARM: 7076/1: 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>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
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