2000-12-20 01:13:02

by Arnaldo Carvalho de Melo

[permalink] [raw]
Subject: [PATCH] 2.2 - ultrastor: spurious restore_flags


Please consider applying

- Arnaldo

--- linux-2.2.19-2/drivers/scsi/ultrastor.c Sat Apr 11 15:13:25 1998
+++ linux-2.2.19-2.acme/drivers/scsi/ultrastor.c Tue Dec 19 20:45:55 2000
@@ -882,9 +882,8 @@
(inb(SYS_DOORBELL_INTR(config.doorbell_address)) & 1))
{
int flags;
- save_flags(flags);
printk("Ux4F: abort while completed command pending\n");
- restore_flags(flags);
+ save_flags(flags);
cli();
ultrastor_interrupt(0, NULL, NULL);
restore_flags(flags);