aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2008-03-05 00:59:14 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-03-06 07:18:18 -0500
commit92df78519d0a6a8677cb827b5a1b7d2520d7e202 (patch)
tree040f1460c724946ba5cf80032ff88b95c0f96495
parent9c4c9f38796faf750de8586becf43b769c76b674 (diff)
[ARM] 4850/1: include generic pgtable.h for !CONFIG_MMU case
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>
-rw-r--r--include/asm-arm/pgtable-nommu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/pgtable-nommu.h b/include/asm-arm/pgtable-nommu.h
index 33c83dd87965..2e5868bbe03b 100644
--- a/include/asm-arm/pgtable-nommu.h
+++ b/include/asm-arm/pgtable-nommu.h
@@ -92,6 +92,8 @@ extern unsigned int kobjsize(const void *objp);
92 92
93#define FIRST_USER_ADDRESS (0) 93#define FIRST_USER_ADDRESS (0)
94 94
95#include <asm-generic/pgtable.h>
96
95#else 97#else
96 98
97/* 99/*