Ingo,

This patch contains both John's and mine for -rt. Might as well make it
a single patch to pull in.

Signed-off-by: Steven Rostedt <[EMAIL PROTECTED]>
Signed-off-by: John Stultz <[EMAIL PROTECTED]>

---
Index: linux-2.6.21-rt9/kernel/futex.c
===================================================================
--- linux-2.6.21-rt9.orig/kernel/futex.c        2007-05-30 23:12:34.000000000 
-0400
+++ linux-2.6.21-rt9/kernel/futex.c     2007-05-30 23:17:05.000000000 -0400
@@ -1839,6 +1839,7 @@ static int futex_lock_pi(u32 __user *uad
                        ret = -EFAULT;
                        goto out_unlock_release_sem;
                }
+               uval = 0;
                goto retry_locked;
        }
 
@@ -3503,6 +3504,7 @@ pi_faulted:
                        ret = -EFAULT;
                        goto out_unlock;
                }
+               uval = 0;
                goto retry_locked;
        }
 


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to