]> bbs.cooldavid.org Git - net-next-2.6.git/blame - include/linux/irqreturn.h
scm: lower SCM_MAX_FD
[net-next-2.6.git] / include / linux / irqreturn.h
CommitLineData
908dcecd
JB
1#ifndef _LINUX_IRQRETURN_H
2#define _LINUX_IRQRETURN_H
3
bedd30d9
TG
4/**
5 * enum irqreturn
6 * @IRQ_NONE interrupt was not from this device
7 * @IRQ_HANDLED interrupt was handled by this device
3aa551c9 8 * @IRQ_WAKE_THREAD handler requests to wake the handler thread
908dcecd 9 */
bedd30d9
TG
10enum irqreturn {
11 IRQ_NONE,
12 IRQ_HANDLED,
3aa551c9 13 IRQ_WAKE_THREAD,
bedd30d9 14};
908dcecd 15
bedd30d9
TG
16typedef enum irqreturn irqreturn_t;
17#define IRQ_RETVAL(x) ((x) != IRQ_NONE)
908dcecd
JB
18
19#endif