futex: split out futex value validation code
authorDarren Hart <dvhltc@us.ibm.com>
Fri, 3 Apr 2009 20:40:40 +0000 (13:40 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 6 Apr 2009 09:14:02 +0000 (11:14 +0200)
commitf801073f87aa22ddf0e9146355fec3993163790f
tree5499760cfb1abcebdda8868ec0074ae3ff4da0d5
parent9121e4783cd5c7e2a407763f3b61c2d573891133
futex: split out futex value validation code

Refactor the code to validate the expected futex value in order to
reuse it with the requeue_pi code.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/futex.c