summaryrefslogtreecommitdiffstats
path: root/include/linux/irqreturn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irqreturn.h')
-rw-r--r--include/linux/irqreturn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/irqreturn.h b/include/linux/irqreturn.h
index 714ba08dc09..e374e369fb2 100644
--- a/include/linux/irqreturn.h
+++ b/include/linux/irqreturn.h
@@ -14,6 +14,6 @@ enum irqreturn {
};
typedef enum irqreturn irqreturn_t;
-#define IRQ_RETVAL(x) ((x) != IRQ_NONE)
+#define IRQ_RETVAL(x) ((x) ? IRQ_HANDLED : IRQ_NONE)
#endif