diff options
Diffstat (limited to 'include')
-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 9aa4b44..92b0a70 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, extern int init_new_context_skas(struct task_struct *task, struct mm_struct *mm); -static inline int init_new_context_tt(struct task_struct *task, - struct mm_struct *mm) -{ - return(0); -} - static inline int init_new_context(struct task_struct *task, struct mm_struct *mm) { diff --git a/include/asm-um/processor-generic.h b/include/asm-um/processor-generic.h index d99bbdd..70c8183 100644 --- a/include/asm-um/processor-generic.h +++ b/include/asm-um/processor-generic.h @@ -34,20 +34,10 @@ struct thread_struct { void *exec_buf; struct arch_thread arch; union { -#ifdef CONFIG_MODE_TT - struct { - int extern_pid; - int tracing; - int switch_pipe[2]; - int vm_seq; - } tt; -#endif -#ifdef CONFIG_MODE_SKAS struct { jmp_buf switch_buf; int mm_count; } skas; -#endif } mode; struct { int op; @@ -136,12 +126,8 @@ extern struct cpuinfo_um cpu_data[]; #endif -#ifdef CONFIG_MODE_SKAS #define KSTK_REG(tsk, reg) \ get_thread_reg(reg, &tsk->thread.mode.skas.switch_buf) -#else -#define KSTK_REG(tsk, reg) (0xbadbabe) -#endif #define get_wchan(p) (0) #endif |