patch-2.3.45 linux/include/asm-m68k/hardirq.h
Next file: linux/include/asm-m68k/irq.h
Previous file: linux/include/asm-m68k/adb_iop.h
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Feb 13 11:21:42 2000
-  Orig file: 
v2.3.44/linux/include/asm-m68k/hardirq.h
-  Orig date: 
Fri Jan 28 15:09:09 2000
diff -u --recursive --new-file v2.3.44/linux/include/asm-m68k/hardirq.h linux/include/asm-m68k/hardirq.h
@@ -7,6 +7,8 @@
 
 #define in_interrupt() (local_irq_count[smp_processor_id()] + local_bh_count[smp_processor_id()] != 0)
 
+#define in_irq() (local_irq_count[smp_processor_id()] != 0)
+
 #define hardirq_trylock(cpu)	(local_irq_count[cpu] == 0)
 #define hardirq_endlock(cpu)	do { } while (0)
 
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)