summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2008-05-23 08:16:52 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-05-23 14:50:05 +0200
commit50346e621252617a07eb800dfa3f876ccd52d534 (patch)
tree736dbd522826133270e00c41a9c99b10f7697c35 /include/asm-arm
parent[ARM] omap: fix omap clk support build errors (diff)
downloadlinux-50346e621252617a07eb800dfa3f876ccd52d534.tar.xz
linux-50346e621252617a07eb800dfa3f876ccd52d534.zip
[ARM] 5051/1: define pgtable_t for the !CONFIG_MMU case too
The non-MMU case also needs the type definition of pgtable_t. So move it out of a CONFIG_MMU conditional section. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r--include/asm-arm/page.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h
index 5c22b0112106..8e05bdb5f12f 100644
--- a/include/asm-arm/page.h
+++ b/include/asm-arm/page.h
@@ -179,10 +179,10 @@ typedef unsigned long pgprot_t;
#endif /* STRICT_MM_TYPECHECKS */
-typedef struct page *pgtable_t;
-
#endif /* CONFIG_MMU */
+typedef struct page *pgtable_t;
+
#include <asm/memory.h>
#endif /* !__ASSEMBLY__ */