patch-2.1.95 linux/drivers/block/ide-disk.c
Next file: linux/drivers/block/ide.c
Previous file: linux/arch/i386/kernel/irq.c
Back to the patch index
Back to the overall index
- Lines: 48
- Date:
Thu Apr 9 13:43:52 1998
- Orig file:
v2.1.94/linux/drivers/block/ide-disk.c
- Orig date:
Wed Apr 1 20:11:48 1998
diff -u --recursive --new-file v2.1.94/linux/drivers/block/ide-disk.c linux/drivers/block/ide-disk.c
@@ -120,7 +120,6 @@
}
msect = drive->mult_count;
- spin_lock_irqsave(&io_request_lock,flags);
read_next:
rq = HWGROUP(drive)->rq;
if (msect) {
@@ -152,7 +151,6 @@
goto read_next;
ide_set_handler (drive, &read_intr, WAIT_CMD);
}
- spin_unlock_irqrestore(&io_request_lock,flags);
}
/*
@@ -167,7 +165,6 @@
unsigned long flags;
int error = 0;
- spin_lock_irqsave(&io_request_lock,flags);
if (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
#ifdef DEBUG
printk("%s: write: sector %ld, buffer=0x%08lx, remaining=%ld\n",
@@ -192,7 +189,6 @@
error = 1;
out:
- spin_unlock_irqrestore(&io_request_lock,flags);
if (error)
ide_error(drive, "write_intr", stat);
@@ -246,7 +242,6 @@
unsigned long flags;
int error = 0;
- spin_lock_irqsave(&io_request_lock,flags);
if (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
if (stat & DRQ_STAT) {
if (rq->nr_sectors) {
@@ -268,7 +263,6 @@
error = 1;
out:
- spin_unlock_irqrestore(&io_request_lock,flags);
if (error)
ide_error(drive, "multwrite_intr", stat);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov