diff options
author | Richard Weinberger <richard@nod.at> | 2013-09-23 19:38:03 +0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2013-11-17 14:27:35 +0400 |
commit | a1850e9c7282db1c19a18093a945d5e84bfe7418 (patch) | |
tree | 8d9d3eafc0f045e2ff6c4da8108fb731ecfcda94 /arch/um/drivers/mconsole_kern.c | |
parent | f72c22e45e8f8fe78c7f793d983bee5bed63497e (diff) | |
download | linux-a1850e9c7282db1c19a18093a945d5e84bfe7418.tar.xz |
um: Get rid of thread_struct->saved_task
As we have a sane show_stack() now, we can drop
the ->saved_task hack.
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/drivers/mconsole_kern.c')
-rw-r--r-- | arch/um/drivers/mconsole_kern.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/um/drivers/mconsole_kern.c b/arch/um/drivers/mconsole_kern.c index 3df3bd544492..29880c9b324e 100644 --- a/arch/um/drivers/mconsole_kern.c +++ b/arch/um/drivers/mconsole_kern.c @@ -645,11 +645,9 @@ void mconsole_sysrq(struct mc_request *req) static void stack_proc(void *arg) { - struct task_struct *from = current, *to = arg; + struct task_struct *task = arg; - to->thread.saved_task = from; - rcu_user_hooks_switch(from, to); - switch_to(from, to, from); + show_stack(task, NULL); } /* |