GNU Linux-libre 4.14.290-gnu1
[releases.git] / arch / xtensa / include / asm / nommu_context.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 static inline void init_mmu(void)
3 {
4 }
5
6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk)
7 {
8 }
9
10 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm)
11 {
12         return 0;
13 }
14
15 static inline void destroy_context(struct mm_struct *mm)
16 {
17 }
18
19 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next)
20 {
21 }
22
23 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
24                                 struct task_struct *tsk)
25 {
26 }
27
28 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm)
29 {
30 }