riscv: mm: notify remote harts about mmu cache updates
[platform/kernel/linux-rpi.git] / arch / riscv / include / asm / mmu.h
index dabcf2c..5ff1f19 100644 (file)
 typedef struct {
 #ifndef CONFIG_MMU
        unsigned long   end_brk;
+#else
+       atomic_long_t id;
 #endif
        void *vdso;
 #ifdef CONFIG_SMP
        /* A local icache flush is needed before user execution can resume. */
        cpumask_t icache_stale_mask;
+       /* A local tlb flush is needed before user execution can resume. */
+       cpumask_t tlb_stale_mask;
 #endif
 } mm_context_t;