xtensa: remove redefinition of XCHAL_MMU_ASID_BITS
authorJohannes Weiner <jw@emlix.com>
Wed, 4 Mar 2009 15:21:28 +0000 (16:21 +0100)
committerChris Zankel <chris@zankel.net>
Fri, 3 Apr 2009 06:38:10 +0000 (23:38 -0700)
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>
arch/xtensa/include/asm/mmu_context.h

index c0fd8e5b4513562ee5d9884108fbb1723ed7cd8d..6b7c19c8f4ceded1156ff7fd667c0c94e85941d6 100644 (file)
 #include <linux/stringify.h>
 #include <linux/sched.h>
 
+#include <variant/core.h>
+
 #include <asm/pgtable.h>
 #include <asm/cacheflush.h>
 #include <asm/tlbflush.h>
 #include <asm-generic/mm_hooks.h>
 
-#define XCHAL_MMU_ASID_BITS    8
-
 #if (XCHAL_HAVE_TLBS != 1)
 # error "Linux must have an MMU!"
 #endif