summaryrefslogtreecommitdiff
path: root/arch/riscv/include/asm/mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/include/asm/mmu.h')
-rw-r--r--arch/riscv/include/asm/mmu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/riscv/include/asm/mmu.h b/arch/riscv/include/asm/mmu.h
index 66805cba9a27..5df2dccdba12 100644
--- a/arch/riscv/include/asm/mmu.h
+++ b/arch/riscv/include/asm/mmu.h
@@ -19,6 +19,10 @@
typedef struct {
void *vdso;
+#ifdef CONFIG_SMP
+ /* A local icache flush is needed before user execution can resume. */
+ cpumask_t icache_stale_mask;
+#endif
} mm_context_t;
#endif /* __ASSEMBLY__ */