diff options
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) | |||
645 | 645 | ||
646 | static void stack_proc(void *arg) | 646 | static void stack_proc(void *arg) |
647 | { | 647 | { |
648 | struct task_struct *from = current, *to = arg; | 648 | struct task_struct *task = arg; |
649 | 649 | ||
650 | to->thread.saved_task = from; | 650 | show_stack(task, NULL); |
651 | rcu_user_hooks_switch(from, to); | ||
652 | switch_to(from, to, from); | ||
653 | } | 651 | } |
654 | 652 | ||
655 | /* | 653 | /* |