From: Greg Ungerer Date: Fri, 23 May 2008 06:16:52 +0000 (+0100) Subject: [ARM] 5051/1: define pgtable_t for the !CONFIG_MMU case too X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=50346e621252617a07eb800dfa3f876ccd52d534;p=openwrt%2Fstaging%2Fblogic.git [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 Signed-off-by: Russell King --- 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 #endif /* !__ASSEMBLY__ */