futex: Fix compat_futex to be same as futex for REQUEUE_PI
authorDinakar Guniguntala <dino@in.ibm.com>
Mon, 10 Aug 2009 13:01:42 +0000 (18:31 +0530)
committerIngo Molnar <mingo@elte.hu>
Mon, 10 Aug 2009 13:41:12 +0000 (15:41 +0200)
commit4dc88029fd916b860ef063c40180aa604ce93494
tree0c81f4012d0dda7238a137465f12a3e9e685f7b0
parent2fc391112fb6f3424435a3aa2fda887497b5f807
futex: Fix compat_futex to be same as futex for REQUEUE_PI

Need to add the REQUEUE_PI checks to the compat_sys_futex API
as well to ensure 32 bit requeue's work fine on a 64 bit
system. Patch is against latest tip

Signed-off-by: Dinakar Guniguntala <dino@in.ibm.com>
Cc: Darren Hart <dvhltc@us.ibm.com>
LKML-Reference: <20090810130142.GA23619@in.ibm.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex_compat.c