diff options
Diffstat (limited to 'arch/um/kernel/skas/include')
-rw-r--r-- | arch/um/kernel/skas/include/mmu-skas.h | 2 | ||||
-rw-r--r-- | arch/um/kernel/skas/include/skas.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/um/kernel/skas/include/mmu-skas.h b/arch/um/kernel/skas/include/mmu-skas.h index 09536f81ee4..44110c521e4 100644 --- a/arch/um/kernel/skas/include/mmu-skas.h +++ b/arch/um/kernel/skas/include/mmu-skas.h | |||
@@ -8,6 +8,7 @@ | |||
8 | 8 | ||
9 | #include "linux/config.h" | 9 | #include "linux/config.h" |
10 | #include "mm_id.h" | 10 | #include "mm_id.h" |
11 | #include "asm/ldt.h" | ||
11 | 12 | ||
12 | struct mmu_context_skas { | 13 | struct mmu_context_skas { |
13 | struct mm_id id; | 14 | struct mm_id id; |
@@ -15,6 +16,7 @@ struct mmu_context_skas { | |||
15 | #ifdef CONFIG_3_LEVEL_PGTABLES | 16 | #ifdef CONFIG_3_LEVEL_PGTABLES |
16 | unsigned long last_pmd; | 17 | unsigned long last_pmd; |
17 | #endif | 18 | #endif |
19 | uml_ldt_t ldt; | ||
18 | }; | 20 | }; |
19 | 21 | ||
20 | extern void switch_mm_skas(struct mm_id * mm_idp); | 22 | extern void switch_mm_skas(struct mm_id * mm_idp); |
diff --git a/arch/um/kernel/skas/include/skas.h b/arch/um/kernel/skas/include/skas.h index 060934740f9..daa2f85b684 100644 --- a/arch/um/kernel/skas/include/skas.h +++ b/arch/um/kernel/skas/include/skas.h | |||
@@ -10,7 +10,8 @@ | |||
10 | #include "sysdep/ptrace.h" | 10 | #include "sysdep/ptrace.h" |
11 | 11 | ||
12 | extern int userspace_pid[]; | 12 | extern int userspace_pid[]; |
13 | extern int proc_mm, ptrace_faultinfo; | 13 | extern int proc_mm, ptrace_faultinfo, ptrace_ldt; |
14 | extern int skas_needs_stub; | ||
14 | 15 | ||
15 | extern void switch_threads(void *me, void *next); | 16 | extern void switch_threads(void *me, void *next); |
16 | extern void thread_wait(void *sw, void *fb); | 17 | extern void thread_wait(void *sw, void *fb); |