summaryrefslogtreecommitdiffstats
path: root/kernel/futex_compat.c
diff options
context:
space:
mode:
authorChristoph Lameter <clameter@sgi.com>2008-02-15 08:48:28 -0800
committerChristoph Lameter <clameter@sgi.com>2008-02-15 08:48:28 -0800
commit6f157c1d268d5888ca44c589dccd01729c4172f6 (patch)
treee439df35a39c06df3665ec30b406406f08e82177 /kernel/futex_compat.c
parentc5974932c1e8514d3478573bb52beebeb2c786dd (diff)
parent4ee29f6a52158cea526b16a44ae38643946103ec (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'kernel/futex_compat.c')
-rw-r--r--kernel/futex_compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex_compat.c b/kernel/futex_compat.c
index 133d558db45..7d5e4b016f3 100644
--- a/kernel/futex_compat.c
+++ b/kernel/futex_compat.c
@@ -176,7 +176,7 @@ asmlinkage long compat_sys_futex(u32 __user *uaddr, int op, u32 val,
t = timespec_to_ktime(ts);
if (cmd == FUTEX_WAIT)
- t = ktime_add(ktime_get(), t);
+ t = ktime_add_safe(ktime_get(), t);
tp = &t;
}
if (cmd == FUTEX_REQUEUE || cmd == FUTEX_CMP_REQUEUE)