Re: [PATCH][RT] lock.h: fix spelling of contended

Steven Rostedt
2008-12-10T11:42:35Z

On Tue, 9 Dec 2008, Sven-Thorsten Dietrich wrote:

> Maybe it'll save you a half second...
>
> Signed-off-by: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
>
> 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