Commit 18f27594 authored by Nathan Lynch's avatar Nathan Lynch Committed by Linus Torvalds

[PATCH] ppc64: call idle_task_exit from cpu_die

Call idle_task_exit from cpu_die to avoid mm_struct leak.
Signed-off-by: default avatarNathan Lynch <nathanl@austin.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e2c56651
......@@ -1345,6 +1345,7 @@ early_param("xmon", early_xmon);
void cpu_die(void)
{
idle_task_exit();
if (ppc_md.cpu_die)
ppc_md.cpu_die();
local_irq_disable();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment