patch-2.4.0-test9 linux/arch/sh/kernel/irq_imask.c

Next file: linux/arch/sh/kernel/irq_ipr.c
Previous file: linux/arch/sh/kernel/io.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test8/linux/arch/sh/kernel/irq_imask.c linux/arch/sh/kernel/irq_imask.c
@@ -41,7 +41,7 @@
 
 static unsigned int startup_imask_irq(unsigned int irq)
 { 
-	enable_imask_irq(irq);
+	/* Nothing to do */
 	return 0; /* never anything pending */
 }
 
@@ -71,7 +71,8 @@
 		     "ldc	%0, $sr\n"
 		     "1:"
 		     : "=&z" (__dummy)
-		     : "r" (~0xf0), "r" (ip << 4));
+		     : "r" (~0xf0), "r" (ip << 4)
+		     : "t");
 }
 
 static void disable_imask_irq(unsigned int irq)
@@ -103,7 +104,7 @@
 
 static void shutdown_imask_irq(unsigned int irq)
 {
-	disable_imask_irq(irq);
+	/* Nothing to do */
 }
 
 void make_imask_irq(unsigned int irq)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)