Changeset 438 for GPL/trunk/include/linux/interrupt.h
- Timestamp:
- Jun 5, 2009, 11:24:02 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/include/linux/interrupt.h
r410 r438 1 /* $Id: interrupt.h,v 1.1.1.1 2003/07/02 13:57:00 eleph Exp $ */2 3 1 /* interrupt.h */ 4 2 #ifndef _LINUX_INTERRUPT_H … … 8 6 //#include <asm/bitops.h> 9 7 #include <asm/atomic.h> 8 9 /* 10 * For 2.4.x compatibility, 2.4.x can use 11 * 12 * typedef void irqreturn_t; 13 * #define IRQ_NONE 14 * #define IRQ_HANDLED 15 * #define IRQ_RETVAL(x) 16 * 17 * To mix old-style and new-style irq handler returns. 18 * 19 * IRQ_NONE means we didn't handle it. 20 * IRQ_HANDLED means that we did have a valid interrupt and handled it. 21 * IRQ_RETVAL(x) selects on the two depending on x being non-zero (for handled) 22 */ 23 typedef int irqreturn_t; 24 25 #define IRQ_NONE (0) 26 #define IRQ_HANDLED (1) 27 #define IRQ_RETVAL(x) ((x) != 0) 10 28 11 29 struct irqaction {
Note:
See TracChangeset
for help on using the changeset viewer.