[PATCH 2.6.0-test5] s/spin_lock_irqrestore/spin_unlock_irqrestore

From: Vinay K Nallamothu
Date: Tue Sep 09 2003 - 06:08:11 EST


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
*




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