15 #ifndef _ASM_TILE_MMU_CONTEXT_H
16 #define _ASM_TILE_MMU_CONTEXT_H
19 #include <asm/setup.h>
21 #include <asm/pgalloc.h>
22 #include <asm/pgtable.h>
23 #include <asm/tlbflush.h>
43 panic(
"hv_install_context failed: %d", rc);
46 static inline void install_page_table(
pgd_t *pgdir,
int asid)
49 __install_page_table(pgdir, asid, *ptep);
81 #if CHIP_HAS_TILE_DMA()
86 if (
current->thread.tile_dma_state.enabled)
94 if (
likely(prev != next)) {
107 cpumask_clear_cpu(cpu, mm_cpumask(prev));
108 cpumask_set_cpu(cpu, mm_cpumask(next));
111 install_page_table(next->
pgd, asid);
132 #define destroy_context(mm) do { } while (0)
133 #define deactivate_mm(tsk, mm) do { } while (0)