patch-2.1.101 linux/include/asm-alpha/hardirq.h
Next file: linux/include/asm-alpha/md.h
Previous file: linux/include/asm-alpha/delay.h
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Fri May 8 00:31:10 1998
- Orig file:
v2.1.100/linux/include/asm-alpha/hardirq.h
- Orig date:
Wed Apr 1 20:11:53 1998
diff -u --recursive --new-file v2.1.100/linux/include/asm-alpha/hardirq.h linux/include/asm-alpha/hardirq.h
@@ -4,6 +4,7 @@
#include <linux/tasks.h>
extern unsigned int local_irq_count[NR_CPUS];
+#define in_interrupt() (local_irq_count[smp_processor_id()] + local_bh_count[smp_processor_id()] != 0)
#ifndef __SMP__
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov