summaryrefslogtreecommitdiffstats
path: root/arch/xtensa/mm/fault.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2019-12-10 03:12:18 +0100
committerMax Filippov <jcmvbkbc@gmail.com>2022-05-02 04:51:20 +0200
commit4916be4290d3e2ca3161528607da1e32d858fe64 (patch)
tree819e3170acc8c88e5ba8c0075f3bd313c5d2be78 /arch/xtensa/mm/fault.c
parentxtensa: iss: extract and constify network callbacks (diff)
downloadlinux-4916be4290d3e2ca3161528607da1e32d858fe64.tar.xz
linux-4916be4290d3e2ca3161528607da1e32d858fe64.zip
xtensa: move asid_cache from fault.c to mmu.c
asid_cache is only useful with full MMU, but fault.c is also useful with MPU. Move asid_cache definition to MMU-specific source file. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/mm/fault.c')
-rw-r--r--arch/xtensa/mm/fault.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/xtensa/mm/fault.c b/arch/xtensa/mm/fault.c
index 06d0973a0d74..2a120c024334 100644
--- a/arch/xtensa/mm/fault.c
+++ b/arch/xtensa/mm/fault.c
@@ -21,7 +21,6 @@
#include <asm/cacheflush.h>
#include <asm/hardirq.h>
-DEFINE_PER_CPU(unsigned long, asid_cache) = ASID_USER_FIRST;
void bad_page_fault(struct pt_regs*, unsigned long, int);
/*