Skip to content

Commit

Permalink
[ARM] 5051/1: define pgtable_t for the !CONFIG_MMU case too
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Russell King committed May 23, 2008
1 parent b851cb2 commit 50346e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/asm-arm/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -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__ */
Expand Down

0 comments on commit 50346e6

Please sign in to comment.