summaryrefslogtreecommitdiffstats
path: root/arch/arm/mm/mm.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2010-11-16 01:22:09 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-11-26 21:45:47 +0100
commitf6e3354d02aa1f30672e3671098c12cb49c7da25 (patch)
tree63e5731ea85afae946d8d393b7faeb7f84b02ee3 /arch/arm/mm/mm.h
parentARM: pgtable: use phys_addr_t for physical addresses (diff)
downloadlinux-f6e3354d02aa1f30672e3671098c12cb49c7da25.tar.xz
linux-f6e3354d02aa1f30672e3671098c12cb49c7da25.zip
ARM: pgtable: introduce pteval_t to represent a pte value
This makes everywhere dealing with pte values use the same type. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mm/mm.h')
-rw-r--r--arch/arm/mm/mm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/mm.h b/arch/arm/mm/mm.h
index 6630620380a4..36960df5fb76 100644
--- a/arch/arm/mm/mm.h
+++ b/arch/arm/mm/mm.h
@@ -16,7 +16,7 @@ static inline pmd_t *pmd_off_k(unsigned long virt)
}
struct mem_type {
- unsigned int prot_pte;
+ pteval_t prot_pte;
unsigned int prot_l1;
unsigned int prot_sect;
unsigned int domain;