diff options
author | john stultz <johnstul@us.ibm.com> | 2007-08-23 01:01:10 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-23 06:52:44 +0400 |
commit | 187226f57f1381cfc63216979b4375f30e593795 (patch) | |
tree | 0bda40993e1794363bf6570614584b03f1de55e9 /drivers/serial/sunsab.c | |
parent | 42b88e6ad4014d290d6b59dfeb5d6949c5a3f346 (diff) | |
download | linux-187226f57f1381cfc63216979b4375f30e593795.tar.xz |
futex_unlock_pi() hurts my brain and may cause application deadlock
Avoid futex_unlock_pi returning -EFAULT (which results in deadlock), by
clearing uval before jumping to retry_locked.
Signed-off-by: John Stultz <johnstul@us.ibm.com>
Acked-by: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/serial/sunsab.c')
0 files changed, 0 insertions, 0 deletions