Skip to content

Commit

Permalink
xtensa: remove redefinition of XCHAL_MMU_ASID_BITS
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Johannes Weiner authored and Chris Zankel committed Apr 3, 2009
1 parent 833bb30 commit 4f682fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/xtensa/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
#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
Expand Down

0 comments on commit 4f682fb

Please sign in to comment.