Changeset 438
- Timestamp:
- Jun 5, 2009, 11:24:02 PM (16 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/include/sound/config.h
r431 r438 67 67 #include <linux/config.h> 68 68 #include <linux/version.h> 69 70 #define IRQ_NONE (0) /*void*/71 #define IRQ_HANDLED (1) /*void*/72 #define IRQ_RETVAL(x) ((x) != 0) /*void*/73 typedef int irqreturn_t;74 69 75 70 #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 2, 3) -
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.