futex: Move exit_pi_state() call to release_mm()
commit322a2c100a8998158445599ea437fb556aa95b11
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Oct 2009 16:18:03 +0000 (5 18:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 6 Oct 2009 15:00:01 +0000 (6 17:00 +0200)
tree8039af7452e0fac73f3083cb7e9c1e00d3007811
parentfc6b177dee33365ccb29fe6d2092223cf8d679f9
futex: Move exit_pi_state() call to release_mm()

exit_pi_state() is called from do_exit() but not from do_execve().
Move it to release_mm() so it gets called from do_execve() as well.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
LKML-Reference: <new-submission>
Cc: stable@kernel.org
Cc: Anirban Sinha <ani@anirban.org>
Cc: Peter Zijlstra <peterz@infradead.org>
kernel/exit.c
kernel/fork.c