]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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 17:31:34 +0000 (10:31 -0700)
commit0a5ced57efbd5a9551ee676284cf14bbe3cf9d96
tree5973186a0e0cb8aca92841e8c2374e510cbf5244
parenta41390f5657a1de04acb4c99c089a678030aede5
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