[ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
Greg Ungerer [Wed, 5 Mar 2008 05:59:14 +0000 (06:59 +0100)]
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>

include/asm-arm/pgtable-nommu.h

index 33c83dd..2e5868b 100644 (file)
@@ -92,6 +92,8 @@ extern unsigned int kobjsize(const void *objp);
 
 #define FIRST_USER_ADDRESS      (0)
 
+#include <asm-generic/pgtable.h>
+
 #else 
 
 /*