summaryrefslogtreecommitdiffstats
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2011-07-17 09:01:00 +0200
committerJiri Kosina <jkosina@suse.cz>2011-09-15 14:37:17 +0200
commitca4a04cf3dd0cecb5e7188ed7796cc55fc13aeb1 (patch)
treef34fff5c79187e76a290f2a10c9249859b3cb739 /kernel/futex.c
parent77cd7693787d0021786078da22a015cea938e466 (diff)
downloadlinux-ca4a04cf3dd0cecb5e7188ed7796cc55fc13aeb1.tar.gz
linux-ca4a04cf3dd0cecb5e7188ed7796cc55fc13aeb1.tar.bz2
linux-ca4a04cf3dd0cecb5e7188ed7796cc55fc13aeb1.zip
futex: Fix spelling in a source code comment
Change a single occurrence of "unlcoked" into "unlocked". Signed-off-by: Bart Van Assche <bvanassche@acm.org> Cc: Darren Hart <dvhltc@us.ibm.com> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/futex.c')
-rw-r--r--kernel/futex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index f4e811c8623c..557c9c7cdd88 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -1763,7 +1763,7 @@ static void futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q *q,
*
* Returns:
* 0 - uaddr contains val and hb has been locked
- * <1 - -EFAULT or -EWOULDBLOCK (uaddr does not contain val) and hb is unlcoked
+ * <1 - -EFAULT or -EWOULDBLOCK (uaddr does not contain val) and hb is unlocked
*/
static int futex_wait_setup(u32 __user *uaddr, u32 val, unsigned int flags,
struct futex_q *q, struct futex_hash_bucket **hb)