summaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-12-01 14:24:44 +0100
committerArnd Bergmann <arnd@arndb.de>2012-12-09 23:14:19 +0100
commitfb9de7ebc3a2eb7ddb83c92e288447a0c313bced (patch)
treec9d4a4db1cd5f14df6c34d64d44458cf4b403ee3 /arch/xtensa
parent0a2f505ee721f0b5480464673ca71520c0ac2eb6 (diff)
downloadlinux-fb9de7ebc3a2eb7ddb83c92e288447a0c313bced.tar.gz
linux-fb9de7ebc3a2eb7ddb83c92e288447a0c313bced.tar.bz2
linux-fb9de7ebc3a2eb7ddb83c92e288447a0c313bced.zip
xtensa: Use generic asm/mmu.h for nommu
The nommu portion of mmu.h of the extensa platform is basically the same as the asm-generic mmu.h. So use it instead. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Chris Zankel <chris@zankel.net> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/mmu.h2
-rw-r--r--arch/xtensa/include/asm/nommu.h3
2 files changed, 1 insertions, 4 deletions
diff --git a/arch/xtensa/include/asm/mmu.h b/arch/xtensa/include/asm/mmu.h
index 04890d6e2335..8554b2c8b17a 100644
--- a/arch/xtensa/include/asm/mmu.h
+++ b/arch/xtensa/include/asm/mmu.h
@@ -12,7 +12,7 @@
#define _XTENSA_MMU_H
#ifndef CONFIG_MMU
-#include <asm/nommu.h>
+#include <asm-generic/mmu.h>
#else
/* Default "unsigned long" context */
diff --git a/arch/xtensa/include/asm/nommu.h b/arch/xtensa/include/asm/nommu.h
deleted file mode 100644
index dce2c438c5ba..000000000000
--- a/arch/xtensa/include/asm/nommu.h
+++ /dev/null
@@ -1,3 +0,0 @@
-typedef struct {
- unsigned long end_brk;
-} mm_context_t;