aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-um/processor-generic.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-um/processor-generic.h')
-rw-r--r--include/asm-um/processor-generic.h14
1 files changed, 0 insertions, 14 deletions
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