patch-2.3.99-pre9 linux/arch/sh/kernel/irq.c

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

diff -u --recursive --new-file v2.3.99-pre8/linux/arch/sh/kernel/irq.c linux/arch/sh/kernel/irq.c
@@ -13,6 +13,7 @@
  * Naturally it's not a 1:1 relation, but there are similarities.
  */
 
+#include <linux/config.h>
 #include <linux/ptrace.h>
 #include <linux/errno.h>
 #include <linux/kernel_stat.h>
@@ -300,7 +301,7 @@
 		desc->handler->end(irq);
 	spin_unlock(&irq_controller_lock);
 
-#if 1
+#if 0
 	__sti();
 #endif
 	if (softirq_state[cpu].active&softirq_state[cpu].mask)
@@ -513,3 +514,10 @@
 	spin_unlock_irqrestore(&irq_controller_lock,flags);
 	return 0;
 }
+
+#if defined(CONFIG_PROC_FS) && defined(CONFIG_SYSCTL)
+
+void init_irq_proc(void)
+{
+}
+#endif

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