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-Tag: v2.6.26-rc4~12^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50346e621252617a07eb800dfa3f876ccd52d534;p=linux-2.6 [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 5c22b01121..8e05bdb5f1 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__ */