]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
authorGreg Ungerer <gerg@snapgear.com>
Wed, 5 Mar 2008 05:59:14 +0000 (06:59 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 6 Mar 2008 12:18:18 +0000 (12:18 +0000)
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 33c83dd879654aa5e3c83f18b4ad022a1603ac3a..2e5868bbe03bd9dba8c0a3c791cbe1d9c02642ea 100644 (file)
@@ -92,6 +92,8 @@ extern unsigned int kobjsize(const void *objp);
 
 #define FIRST_USER_ADDRESS      (0)
 
+#include <asm-generic/pgtable.h>
+
 #else 
 
 /*