Skip to content

Commit 4f682fb

Browse files
Johannes Weinerczankel
authored andcommitted
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>
1 parent 833bb30 commit 4f682fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎arch/xtensa/include/asm/mmu_context.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
#include <linux/stringify.h>
1717
#include <linux/sched.h>
1818

19+
#include <variant/core.h>
20+
1921
#include <asm/pgtable.h>
2022
#include <asm/cacheflush.h>
2123
#include <asm/tlbflush.h>
2224
#include <asm-generic/mm_hooks.h>
2325

24-
#define XCHAL_MMU_ASID_BITS 8
25-
2626
#if (XCHAL_HAVE_TLBS != 1)
2727
# error "Linux must have an MMU!"
2828
#endif

0 commit comments

Comments
 (0)