patch-2.4.10 linux/include/linux/irq.h

Next file: linux/include/linux/isdn.h
Previous file: linux/include/linux/irda.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.9/linux/include/linux/irq.h linux/include/linux/irq.h
@@ -1,6 +1,18 @@
 #ifndef __irq_h
 #define __irq_h
 
+/*
+ * Please do not include this file in generic code.  There is currently
+ * no requirement for any architecture to implement anything held
+ * within this file.
+ *
+ * Thanks. --rmk
+ */
+
+#include <linux/config.h>
+
+#if !defined(CONFIG_ARCH_S390)
+
 #include <linux/cache.h>
 #include <linux/spinlock.h>
 
@@ -61,5 +73,7 @@
 
 extern hw_irq_controller no_irq_type;  /* needed in every arch ? */
 extern void no_action(int cpl, void *dev_id, struct pt_regs *regs);
+
+#endif
 
 #endif /* __asm_h */

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