diff options
author | Greg Ungerer <gerg@snapgear.com> | 2008-05-23 07:16:52 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-05-23 13:50:05 +0100 |
commit | 50346e621252617a07eb800dfa3f876ccd52d534 (patch) | |
tree | 736dbd522826133270e00c41a9c99b10f7697c35 /include | |
parent | b851cb289d905ea04e5f0b518bf3f28407a72118 (diff) | |
download | kernel_samsung_smdk4412-50346e621252617a07eb800dfa3f876ccd52d534.zip kernel_samsung_smdk4412-50346e621252617a07eb800dfa3f876ccd52d534.tar.gz kernel_samsung_smdk4412-50346e621252617a07eb800dfa3f876ccd52d534.tar.bz2 |
[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')
-rw-r--r-- | include/asm-arm/page.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/asm-arm/page.h b/include/asm-arm/page.h index 5c22b01..8e05bdb 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__ */ |