From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
To: Linus Torvalds <torvalds@osdl.org>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6.0-test4] wait.h: fix spin_lock_irqrestore typo
Date: 23 Aug 2003 19:25:28 +0530 [thread overview]
Message-ID: <1061646928.1141.33.camel@lima.royalchallenge.com> (raw)
Hi Linus,
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; \
})
next reply other threads:[~2003-08-23 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-23 13:55 Vinay K Nallamothu [this message]
2003-08-23 22:18 ` [PATCH 2.6.0-test4] wait.h: fix spin_lock_irqrestore typo Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1061646928.1141.33.camel@lima.royalchallenge.com \
--to=vinay-rc@naturesoft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).