Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 50346e62 authored by Greg Ungerer's avatar Greg Ungerer Committed by Russell King
Browse files

[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: default avatarGreg Ungerer <gerg@uclinux.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent b851cb28
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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__ */