From: Vinay K Nallamothu <vinay-rc@naturesoft.net>
To: LKML <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.6.0-test5] s/spin_lock_irqrestore/spin_unlock_irqrestore
Date: Tue, 09 Sep 2003 16:37:14 +0530 [thread overview]
Message-ID: <1063105633.4418.7.camel@lima.royalchallenge.com> (raw)
A couple of trivial fixes I missed out earlier.
Vinay
diff -urN linux-2.6.0-test5/drivers/scsi/gdth.c linux-2.6.0-test5-nvk/drivers/scsi/gdth.c
--- linux-2.6.0-test5/drivers/scsi/gdth.c 2003-09-09 11:11:36.000000000 +0530
+++ linux-2.6.0-test5-nvk/drivers/scsi/gdth.c 2003-09-09 16:19:32.000000000 +0530
@@ -2048,7 +2048,7 @@
for (j = 0; j < 12; ++j)
rtc[j] = CMOS_READ(j);
} while (rtc[0] != CMOS_READ(0));
- spin_lock_irqrestore(&rtc_lock, flags);
+ spin_unlock_irqrestore(&rtc_lock, flags);
TRACE2(("gdth_search_drives(): RTC: %x/%x/%x\n",*(ulong32 *)&rtc[0],
*(ulong32 *)&rtc[4], *(ulong32 *)&rtc[8]));
/* 3. send to controller firmware */
diff -urN linux-2.6.0-test5/arch/ia64/kernel/perfmon.c linux-2.6.0-test5-nvk/arch/ia64/kernel/perfmon.c
--- linux-2.6.0-test5/arch/ia64/kernel/perfmon.c 2003-09-09 11:11:11.000000000 +0530
+++ linux-2.6.0-test5-nvk/arch/ia64/kernel/perfmon.c 2003-09-09 16:20:28.000000000 +0530
@@ -155,7 +155,7 @@
* in UP:
* - we need to protect against PMU overflow interrupts (local_irq_disable)
*
- * spin_lock_irqsave()/spin_lock_irqrestore():
+ * spin_lock_irqsave()/spin_unlock_irqrestore():
* in SMP: local_irq_disable + spin_lock
* in UP : local_irq_disable
*
reply other threads:[~2003-09-09 11:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1063105633.4418.7.camel@lima.royalchallenge.com \
--to=vinay-rc@naturesoft.net \
--cc=linux-kernel@vger.kernel.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
Powered by JetHome