diff options
Diffstat (limited to 'include/asm-um')
-rw-r--r-- | include/asm-um/mmu_context.h | 6 | ||||
-rw-r--r-- | include/asm-um/processor-generic.h | 14 |
2 files changed, 0 insertions, 20 deletions
diff --git a/include/asm-um/mmu_context.h b/include/asm-um/mmu_context.h index 9aa4b44e8cc1..92b0a703fb9e 100644 --- a/include/asm-um/mmu_context.h +++ b/include/asm-um/mmu_context.h | |||
@@ -56,12 +56,6 @@ static inline void enter_lazy_tlb(struct mm_struct *mm, | |||
56 | extern int init_new_context_skas(struct task_struct *task, | 56 | extern int init_new_context_skas(struct task_struct *task, |
57 | struct mm_struct *mm); | 57 | struct mm_struct *mm); |
58 | 58 | ||
59 | static inline int init_new_context_tt(struct task_struct *task, | ||
60 | struct mm_struct *mm) | ||
61 | { | ||
62 | return(0); | ||
63 | } | ||
64 | |||
65 | static inline int init_new_context(struct task_struct *task, | 59 | static inline int init_new_context(struct task_struct *task, |
66 | struct mm_struct *mm) | 60 | struct mm_struct *mm) |
67 | { | 61 | { |
diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h index d99bbddffdb9..70c8183d1db0 100644 --- a/include/asm-um/processor-generic.h +++ b/include/asm-um/processor-generic.h | |||
@@ -34,20 +34,10 @@ struct thread_struct { | |||
34 | void *exec_buf; | 34 | void *exec_buf; |
35 | struct arch_thread arch; | 35 | struct arch_thread arch; |
36 | union { | 36 | union { |
37 | #ifdef CONFIG_MODE_TT | ||
38 | struct { | ||
39 | int extern_pid; | ||
40 | int tracing; | ||
41 | int switch_pipe[2]; | ||
42 | int vm_seq; | ||
43 | } tt; | ||
44 | #endif | ||
45 | #ifdef CONFIG_MODE_SKAS | ||
46 | struct { | 37 | struct { |
47 | jmp_buf switch_buf; | 38 | jmp_buf switch_buf; |
48 | int mm_count; | 39 | int mm_count; |
49 | } skas; | 40 | } skas; |
50 | #endif | ||
51 | } mode; | 41 | } mode; |
52 | struct { | 42 | struct { |
53 | int op; | 43 | int op; |
@@ -136,12 +126,8 @@ extern struct cpuinfo_um cpu_data[]; | |||
136 | #endif | 126 | #endif |
137 | 127 | ||
138 | 128 | ||
139 | #ifdef CONFIG_MODE_SKAS | ||
140 | #define KSTK_REG(tsk, reg) \ | 129 | #define KSTK_REG(tsk, reg) \ |
141 | get_thread_reg(reg, &tsk->thread.mode.skas.switch_buf) | 130 | get_thread_reg(reg, &tsk->thread.mode.skas.switch_buf) |
142 | #else | ||
143 | #define KSTK_REG(tsk, reg) (0xbadbabe) | ||
144 | #endif | ||
145 | #define get_wchan(p) (0) | 131 | #define get_wchan(p) (0) |
146 | 132 | ||
147 | #endif | 133 | #endif |