patch-2.4.2 linux/include/asm-s390/hardirq.h
Next file: linux/include/asm-s390/idals.h
Previous file: linux/include/asm-s390/fcntl.h
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Tue Feb 13 14:13:44 2001
- Orig file:
v2.4.1/linux/include/asm-s390/hardirq.h
- Orig date:
Fri Aug 4 16:15:37 2000
diff -u --recursive --new-file v2.4.1/linux/include/asm-s390/hardirq.h linux/include/asm-s390/hardirq.h
@@ -50,14 +50,14 @@
* Special definitions for s390, always access current PSA.
*/
#define in_interrupt() ((S390_lowcore.__local_irq_count + S390_lowcore.__local_bh_count) != 0)
-
+
#define in_irq() (S390_lowcore.__local_irq_count != 0)
-
+
#ifndef CONFIG_SMP
-
+
#define hardirq_trylock(cpu) (local_irq_count(cpu) == 0)
#define hardirq_endlock(cpu) do { } while (0)
-
+
#define hardirq_enter(cpu) (local_irq_count(cpu)++)
#define hardirq_exit(cpu) (local_irq_count(cpu)--)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)