Commit 0352f6f5 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] Trivial: remove sti from aic7xxx_old

We don't need to reenable interrupts before calling panic.
parent 49ae70c0
...@@ -5077,7 +5077,6 @@ aic7xxx_handle_seqint(struct aic7xxx_host *p, unsigned char intstat) ...@@ -5077,7 +5077,6 @@ aic7xxx_handle_seqint(struct aic7xxx_host *p, unsigned char intstat)
} }
else else
{ {
sti();
panic("aic7xxx: AWAITING_MSG for an SCB that does " panic("aic7xxx: AWAITING_MSG for an SCB that does "
"not have a waiting message.\n"); "not have a waiting message.\n");
} }
...@@ -6933,7 +6932,6 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs) ...@@ -6933,7 +6932,6 @@ aic7xxx_isr(int irq, void *dev_id, struct pt_regs *regs)
#endif #endif
if (errno & (SQPARERR | ILLOPCODE | ILLSADDR)) if (errno & (SQPARERR | ILLOPCODE | ILLSADDR))
{ {
sti();
panic("aic7xxx: unrecoverable BRKADRINT.\n"); panic("aic7xxx: unrecoverable BRKADRINT.\n");
} }
if (errno & ILLHADDR) if (errno & ILLHADDR)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment