Skip to content

Commit

Permalink
[ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
Browse files Browse the repository at this point in the history
The nonmmu version of pgtable.h needs to include asm-generic/pgtable.h
as well. It needs to pick up empty definitions of things like
arch_enter_lazy_cpu_mode() to compile cleanly.

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 Mar 6, 2008
1 parent 9c4c9f3 commit 92df785
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/asm-arm/pgtable-nommu.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ extern unsigned int kobjsize(const void *objp);

#define FIRST_USER_ADDRESS (0)

#include <asm-generic/pgtable.h>

#else

/*
Expand Down

0 comments on commit 92df785

Please sign in to comment.