aboutsummaryrefslogtreecommitdiffstats
path: root/arch/xtensa
diff options
context:
space:
mode:
authorJohannes Weiner <jw@emlix.com>2009-03-04 10:21:28 -0500
committerChris Zankel <chris@zankel.net>2009-04-03 02:38:10 -0400
commit4f682fbb27deb308ca6a1e24ec9c2be41e6d1026 (patch)
treea2ac426c3f789797518da83fd7a81a50385ee83a /arch/xtensa
parent833bb3046b6cb320e775ea2160ddca87d53260d5 (diff)
xtensa: remove redefinition of XCHAL_MMU_ASID_BITS
This constant is defined in all core headers. Remove the redundant definition which might error out if other includes lead to inclusion of <variant/core.h>. Signed-off-by: Johannes Weiner <jw@emlix.com> Signed-off-by: Chris Zankel <chris@zankel.net>
Diffstat (limited to 'arch/xtensa')
-rw-r--r--arch/xtensa/include/asm/mmu_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/xtensa/include/asm/mmu_context.h b/arch/xtensa/include/asm/mmu_context.h
index c0fd8e5b4513..6b7c19c8f4ce 100644
--- a/arch/xtensa/include/asm/mmu_context.h
+++ b/arch/xtensa/include/asm/mmu_context.h
@@ -16,13 +16,13 @@
16#include <linux/stringify.h> 16#include <linux/stringify.h>
17#include <linux/sched.h> 17#include <linux/sched.h>
18 18
19#include <variant/core.h>
20
19#include <asm/pgtable.h> 21#include <asm/pgtable.h>
20#include <asm/cacheflush.h> 22#include <asm/cacheflush.h>
21#include <asm/tlbflush.h> 23#include <asm/tlbflush.h>
22#include <asm-generic/mm_hooks.h> 24#include <asm-generic/mm_hooks.h>
23 25
24#define XCHAL_MMU_ASID_BITS 8
25
26#if (XCHAL_HAVE_TLBS != 1) 26#if (XCHAL_HAVE_TLBS != 1)
27# error "Linux must have an MMU!" 27# error "Linux must have an MMU!"
28#endif 28#endif