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:26:53 +0000 (09:26 -0700)
commitbe455802bf55a051bb467b22ad26653a0e78bc61
tree30b09eaa67cfdd9072cb4a121f54b853a3737c76
parentc924f401df0c34336683c9e4848ab93e819f72a5
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