lkml.org 
[lkml]   [2008]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][RT] lock.h: fix spelling of contended

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



\
 
 \ /
  Last update: 2008-12-10 12:45    [W:0.080 / U:0.512 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site