cfq-iosched: fix a rcu warning
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / include / linux / irqreturn.h
blob819acaaac3f5877bc4802bbbc928a5c21686fde2
1 #ifndef _LINUX_IRQRETURN_H
2 #define _LINUX_IRQRETURN_H
4 /**
5 * enum irqreturn
6 * @IRQ_NONE interrupt was not from this device
7 * @IRQ_HANDLED interrupt was handled by this device
8 * @IRQ_WAKE_THREAD handler requests to wake the handler thread
9 */
10 enum irqreturn {
11 IRQ_NONE,
12 IRQ_HANDLED,
13 IRQ_WAKE_THREAD,
16 typedef enum irqreturn irqreturn_t;
17 #define IRQ_RETVAL(x) ((x) != IRQ_NONE)
19 #endif