diff options
Diffstat (limited to 'include/asm-um/mmu_context.h')
-rw-r--r-- | include/asm-um/mmu_context.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-um/mmu_context.h b/include/asm-um/mmu_context.h index 89bff310b7a9..7529c9c853dd 100644 --- a/include/asm-um/mmu_context.h +++ b/include/asm-um/mmu_context.h | |||
@@ -7,7 +7,9 @@ | |||
7 | #define __UM_MMU_CONTEXT_H | 7 | #define __UM_MMU_CONTEXT_H |
8 | 8 | ||
9 | #include "linux/sched.h" | 9 | #include "linux/sched.h" |
10 | #include "linux/config.h" | ||
10 | #include "choose-mode.h" | 11 | #include "choose-mode.h" |
12 | #include "um_mmu.h" | ||
11 | 13 | ||
12 | #define get_mmu_context(task) do ; while(0) | 14 | #define get_mmu_context(task) do ; while(0) |
13 | #define activate_context(tsk) do ; while(0) | 15 | #define activate_context(tsk) do ; while(0) |
@@ -18,8 +20,6 @@ static inline void activate_mm(struct mm_struct *old, struct mm_struct *new) | |||
18 | { | 20 | { |
19 | } | 21 | } |
20 | 22 | ||
21 | extern void switch_mm_skas(int mm_fd); | ||
22 | |||
23 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | 23 | static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, |
24 | struct task_struct *tsk) | 24 | struct task_struct *tsk) |
25 | { | 25 | { |
@@ -30,7 +30,7 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, | |||
30 | cpu_set(cpu, next->cpu_vm_mask); | 30 | cpu_set(cpu, next->cpu_vm_mask); |
31 | if(next != &init_mm) | 31 | if(next != &init_mm) |
32 | CHOOSE_MODE((void) 0, | 32 | CHOOSE_MODE((void) 0, |
33 | switch_mm_skas(next->context.skas.mm_fd)); | 33 | switch_mm_skas(&next->context.skas.id)); |
34 | } | 34 | } |
35 | } | 35 | } |
36 | 36 | ||