summaryrefslogtreecommitdiff
blob: 21b64f13fa6469262c624e9b6cd0b0695b4cc001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- 2.4.10pre2aa3/arch/um/kernel/irq.c.~1~	Sat Sep  1 02:40:55 2001
+++ 2.4.10pre2aa3/arch/um/kernel/irq.c	Sat Sep  1 02:59:47 2001
@@ -141,10 +141,12 @@
 
 	status = 1;	/* Force the "do bottom halves" bit */
 
-	if (!(action->flags & SA_INTERRUPT))
-		__sti();
-
 	do {
+		if (!(action->flags & SA_INTERRUPT))
+			__sti();
+		else
+			__cli();
+
 		status |= action->flags;
 		action->handler(irq, action->dev_id, regs);
 		action = action->next;