diff options
Diffstat (limited to 'arch/um/kernel/smp.c')
-rw-r--r-- | arch/um/kernel/smp.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/um/kernel/smp.c b/arch/um/kernel/smp.c index e6a7778006ad..15bb54365779 100644 --- a/arch/um/kernel/smp.c +++ b/arch/um/kernel/smp.c | |||
@@ -95,7 +95,6 @@ static int idle_proc(void *cpup) | |||
95 | static struct task_struct *idle_thread(int cpu) | 95 | static struct task_struct *idle_thread(int cpu) |
96 | { | 96 | { |
97 | struct task_struct *new_task; | 97 | struct task_struct *new_task; |
98 | unsigned char c; | ||
99 | 98 | ||
100 | current->thread.request.u.thread.proc = idle_proc; | 99 | current->thread.request.u.thread.proc = idle_proc; |
101 | current->thread.request.u.thread.arg = (void *) cpu; | 100 | current->thread.request.u.thread.arg = (void *) cpu; |
@@ -108,9 +107,7 @@ static struct task_struct *idle_thread(int cpu) | |||
108 | { .pid = new_task->thread.mode.tt.extern_pid, | 107 | { .pid = new_task->thread.mode.tt.extern_pid, |
109 | .task = new_task } ); | 108 | .task = new_task } ); |
110 | idle_threads[cpu] = new_task; | 109 | idle_threads[cpu] = new_task; |
111 | CHOOSE_MODE(os_write_file(new_task->thread.mode.tt.switch_pipe[1], &c, | 110 | panic("skas mode doesn't support SMP"); |
112 | sizeof(c)), | ||
113 | ({ panic("skas mode doesn't support SMP"); })); | ||
114 | return new_task; | 111 | return new_task; |
115 | } | 112 | } |
116 | 113 | ||