commit | ca5f9524d61f54b1f618293ab92fc6b49cac864d | [log] [tgz] |
---|---|---|
author | Darren Hart <dvhltc@us.ibm.com> | Fri Apr 03 13:39:33 2009 -0700 |
committer | Thomas Gleixner <tglx@linutronix.de> | Mon Apr 06 11:14:01 2009 +0200 |
tree | 5c7b464dc98257670b815da85e03a1f674a50f2f | |
parent | 6bb597507f9839b13498781e481f5458aea33620 [diff] |
futex: separate futex_wait_queue_me() logic from futex_wait() Refactor futex_wait() in preparation for futex_wait_requeue_pi(). In order to reuse a good chunk of the futex_wait() code for the upcoming futex_wait_requeue_pi() function, this patch breaks out the queue-to-wakeup section of futex_wait() into futex_wait_queue_me(). Signed-off-by: Darren Hart <dvhltc@us.ibm.com> Reviewed-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>