Re: [PATCH][RT] lock.h: fix spelling of contended
From: Steven Rostedt
Date: Wed Dec 10 2008 - 06:42:38 EST
On Tue, 9 Dec 2008, Sven-Thorsten Dietrich wrote:
> Maybe it'll save you a half second...
>
> Signed-off-by: Sven-Thorsten Dietrich <sven@xxxxxxxxxxxxxxxxxxxxx>
>
> diff --git a/include/linux/lock.h b/include/linux/lock.h
> index e0d10d6..785bf7d 100644
> --- a/include/linux/lock.h
> +++ b/include/linux/lock.h
> @@ -11,7 +11,7 @@
> #define DEFINE_LOCK(l) DEFINE_SPINLOCK(l)
> #define lock_init(l) spin_lock_init(l)
> #define lock_is_locked(l) spin_is_locked(l)
> -#define lock_is_contended(l) spin_is_conteted(l)
> +#define lock_is_contended(l) spin_is_contended(l)
> #define lock_can_lock(l) spin_can_lock(l)
> #define assert_lock_locked(l) assert_spin_locked(l)
Thanks, I already fixed it though ;-)
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/