aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/internals.h')
-rw-r--r--kernel/irq/internals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/irq/internals.h b/kernel/irq/internals.h
index 46889119e6a6..cef0849dcfa5 100644
--- a/kernel/irq/internals.h
+++ b/kernel/irq/internals.h
@@ -49,6 +49,7 @@ enum {
49 * IRQS_PENDING - irq is pending and replayed later 49 * IRQS_PENDING - irq is pending and replayed later
50 * IRQS_MASKED - irq is masked 50 * IRQS_MASKED - irq is masked
51 * IRQS_SUSPENDED - irq is suspended 51 * IRQS_SUSPENDED - irq is suspended
52 * IRQS_WAKEUP - irq triggers system wakeup from suspend
52 */ 53 */
53enum { 54enum {
54 IRQS_AUTODETECT = 0x00000001, 55 IRQS_AUTODETECT = 0x00000001,
@@ -62,6 +63,7 @@ enum {
62 IRQS_PENDING = 0x00000200, 63 IRQS_PENDING = 0x00000200,
63 IRQS_MASKED = 0x00000400, 64 IRQS_MASKED = 0x00000400,
64 IRQS_SUSPENDED = 0x00000800, 65 IRQS_SUSPENDED = 0x00000800,
66 IRQS_WAKEUP = 0x00001000,
65}; 67};
66 68
67#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data) 69#define irq_data_to_desc(data) container_of(data, struct irq_desc, irq_data)