futex: Cover all PI opcodes with cmpxchg enabled check
authorThomas Gleixner <tglx@linutronix.de>
Wed, 15 Feb 2012 11:08:34 +0000 (12:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Apr 2012 16:52:30 +0000 (09:52 -0700)
commit29bfcea07745737f385b0d092e71527051c29029
treec4b670e536b474343c2e3ea90e008c9d613a5dcd
parentfe7951d72fe43d52e28f4e0ec1f1de2d0a12e5b0
futex: Cover all PI opcodes with cmpxchg enabled check

commit 59263b513c11398cd66a52d4c5b2b118ce1e0359 upstream.

Some of the newer futex PI opcodes do not check the cmpxchg enabled
variable and call unconditionally into the handling functions. Cover
all PI opcodes in a separate check.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/futex.c