mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] aic7xxx_old compile fix
@ 2002-08-04 16:06 Matthew Wilcox
  0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2002-08-04 16:06 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel


aic7xxx_old did a sti() before calling panic().  remove these calls.

diff -urpNX dontdiff linux-2.5.30/drivers/scsi/aic7xxx_old.c linux-2.5.30-willy/drivers/scsi/aic7xxx_old.c
--- linux-2.5.30/drivers/scsi/aic7xxx_old.c	2002-07-27 12:09:15.000000000 -0600
+++ linux-2.5.30-willy/drivers/scsi/aic7xxx_old.c	2002-08-04 08:32:04.000000000 -0600
@@ -5077,7 +5077,6 @@ aic7xxx_handle_seqint(struct aic7xxx_hos
         }
         else 
         {
-          sti();
           panic("aic7xxx: AWAITING_MSG for an SCB that does "
                 "not have a waiting message.\n");
         }
@@ -6933,7 +6932,6 @@ aic7xxx_isr(int irq, void *dev_id, struc
 #endif
     if (errno & (SQPARERR | ILLOPCODE | ILLSADDR))
     {
-      sti();
       panic("aic7xxx: unrecoverable BRKADRINT.\n");
     }
     if (errno & ILLHADDR)

-- 
Revolutions do not require corporate support.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-04 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-04 16:06 [PATCH] aic7xxx_old compile fix Matthew Wilcox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®