switch_mmu_context
extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next,
switch_mmu_context(current->active_mm, current->active_mm, NULL);
EXPORT_SYMBOL(switch_mmu_context);
switch_mmu_context(prev, next, tsk);
switch_mmu_context(NULL, current->active_mm, NULL);
bool switch_mmu_context = gpu->mmu_context != mmu_context;
bool need_flush = switch_mmu_context || gpu->flush_seq != new_flush_seq;
if (switch_mmu_context && gpu->sec_mode == ETNA_SEC_KERNEL)
if (switch_mmu_context) {
if (switch_mmu_context &&
switch_mmu_context(NULL, current->active_mm, NULL);
switch_mmu_context(NULL, current->active_mm, NULL);