瀏覽代碼

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>
Johannes Weiner 16 年之前
父節點
當前提交
4f682fbb27
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      arch/xtensa/include/asm/mmu_context.h

+ 2 - 2
arch/xtensa/include/asm/mmu_context.h

@@ -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