futex: Correct futex_q woken state commentary
authorDarren Hart <dvhltc@us.ibm.com>
Tue, 22 Sep 2009 05:30:30 +0000 (22:30 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 22 Sep 2009 08:37:44 +0000 (10:37 +0200)
commitd8d88fbb186fe3ea37b2a58adb32413c98b59656
treeb5f98484104fb61044de0a1692318cf91d051cf6
parentd96ee56ce0582967fba9f3f0ac4503957147bea6
futex: Correct futex_q woken state commentary

Use kernel-doc format to describe struct futex_q.

Correct the wakeup definition to eliminate the statement about
waking the waiter between the plist_del() and the q->lock_ptr = 0.

Note in the comment that PI futexes have a different definition of
the woken state.

Signed-off-by: Darren Hart <dvhltc@us.ibm.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Dinakar Guniguntala <dino@in.ibm.com>
Cc: John Stultz <johnstul@us.ibm.com>
LKML-Reference: <20090922053029.8717.62798.stgit@Aeon>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c