projects/linux·commit fb9de7eb

xtensa: Use generic asm/mmu.h for nommu

fb9de7eb · Lars-Peter Clausen <[email protected]> · 2012-12-01 14:24:44 +01:00

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 <[email protected]>
Acked-by: Chris Zankel <[email protected]>
Signed-off-by: Arnd Bergmann <[email protected]>
Commit
fb9de7ebc3a2eb7ddb83c92e288447a0c313bced
Parents
0a2f505e

Changes

2 files changed · +1 −4

arch/xtensa/include/asm/mmu.h

View file
diff --git a/arch/xtensa/include/asm/mmu.h b/arch/xtensa/include/asm/mmu.h
index 04890d6..8554b2c 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 */

arch/xtensa/include/asm/nommu.h

View before deletion
diff --git a/arch/xtensa/include/asm/nommu.h b/arch/xtensa/include/asm/nommu.h
deleted file mode 100644
index dce2c43..0000000
--- a/arch/xtensa/include/asm/nommu.h
+++ /dev/null
@@ -1,3 +0,0 @@
-typedef struct {
- unsigned long end_brk;
-} mm_context_t;