summaryrefslogtreecommitdiff
path: root/kernel/futex.c
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2011-07-17 09:01:00 +0200
committerJason Liu <r64343@freescale.com>2012-07-20 13:23:23 +0800
commit3cf9a048888ccf78606780c395ce0c27d02760e7 (patch)
tree125e211767d7189431c371bb6194241e41cd1bb6 /kernel/futex.c
parent7aa281184d881519a773ac7459c4929462c035a1 (diff)
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 fb864c43c757..98ea4b916686 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -1806,7 +1806,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)