aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-12-01 08:24:44 -0500
committerArnd Bergmann <arnd@arndb.de>2012-12-09 17:14:19 -0500
commitfb9de7ebc3a2eb7ddb83c92e288447a0c313bced (patch)
treec9d4a4db1cd5f14df6c34d64d44458cf4b403ee3 /arch
parent0a2f505ee721f0b5480464673ca71520c0ac2eb6 (diff)
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')
-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 @@
12#define _XTENSA_MMU_H 12#define _XTENSA_MMU_H
13 13
14#ifndef CONFIG_MMU 14#ifndef CONFIG_MMU
15#include <asm/nommu.h> 15#include <asm-generic/mmu.h>
16#else 16#else
17 17
18/* Default "unsigned long" context */ 18/* 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 @@
1typedef struct {
2 unsigned long end_brk;
3} mm_context_t;