]> git.karo-electronics.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>
Tue, 6 Sep 2011 23:48:36 +0000 (00:48 +0100)
commit9d3f4ea85ee0956127ce9d187e04afb07d201996
treeb968d9eea18f6fe234d7c9210ef6a1e20c3fffea
parent3640188284875d637c7a10efbf49dd127c1ab709
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