lkml.org 
[lkml]   [2003]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.0-test4] wait.h: fix spin_lock_irqrestore typo
Vinay K Nallamothu <vinay-rc@naturesoft.net> wrote:
>
> A small patch to fix a spin_lock typo in the macro add_wait_queue_cond
>
> Vinay
>
> --- linux-2.6.0-test4/include/linux/wait.h 2003-07-15 17:22:56.000000000 +0530
> +++ linux-2.6.0-test4-nvk/include/linux/wait.h 2003-08-23 19:08:36.000000000 +0530
> @@ -232,7 +232,7 @@
> _raced = 1; \
> __remove_wait_queue((q), (wait)); \
> } \
> - spin_lock_irqrestore(&(q)->lock, flags); \
> + spin_unlock_irqrestore(&(q)->lock, flags); \
> _raced; \
> })

Well that's obviously had a lot of testing.

It has no callers; I'll just kill it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.082 / U:8.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site