]> git.karo-electronics.de Git - karo-tx-linux.git/commit
futex: Move exit_pi_state() call to release_mm()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 5 Oct 2009 16:18:03 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 12 Oct 2009 19:40:11 +0000 (12:40 -0700)
commit3e82b94373aeccc3624e228e40a60749f70deaf8
tree0ccba05f2ae530ae3c097be1668683c81684580c
parent9cb696b8f6a4b034d2a0323aaf81a878c60199a5
futex: Move exit_pi_state() call to release_mm()

commit 322a2c100a8998158445599ea437fb556aa95b11 upstream.

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: Anirban Sinha <ani@anirban.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/exit.c
kernel/fork.c