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>
This commit is contained in:
Catalin Marinas
2011-09-05 17:51:56 +01:00
committed by Russell King
父節點 17f5721196
當前提交 442e70c0b3
共有 6 個文件被更改,包括 59 次插入56 次删除

查看文件

@@ -12,8 +12,8 @@ static inline pmd_t *pmd_off_k(unsigned long virt)
struct mem_type {
pteval_t prot_pte;
unsigned int prot_l1;
unsigned int prot_sect;
pmdval_t prot_l1;
pmdval_t prot_sect;
unsigned int domain;
};