aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/irq.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/irq.h')
-rw-r--r--include/linux/irq.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 16d6f54ef1dd..59517300a315 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -97,11 +97,6 @@ enum {
97 97
98#define IRQ_NO_BALANCING_MASK (IRQ_PER_CPU | IRQ_NO_BALANCING) 98#define IRQ_NO_BALANCING_MASK (IRQ_PER_CPU | IRQ_NO_BALANCING)
99 99
100static inline __deprecated bool CHECK_IRQ_PER_CPU(unsigned int status)
101{
102 return status & IRQ_PER_CPU;
103}
104
105/* 100/*
106 * Return value for chip->irq_set_affinity() 101 * Return value for chip->irq_set_affinity()
107 * 102 *
@@ -114,14 +109,18 @@ enum {
114}; 109};
115 110
116struct msi_desc; 111struct msi_desc;
112struct irq_domain;
117 113
118/** 114/**
119 * struct irq_data - per irq and irq chip data passed down to chip functions 115 * struct irq_data - per irq and irq chip data passed down to chip functions
120 * @irq: interrupt number 116 * @irq: interrupt number
117 * @hwirq: hardware interrupt number, local to the interrupt domain
121 * @node: node index useful for balancing 118 * @node: node index useful for balancing
122 * @state_use_accessors: status information for irq chip functions. 119 * @state_use_accessors: status information for irq chip functions.
123 * Use accessor functions to deal with it 120 * Use accessor functions to deal with it
124 * @chip: low level interrupt hardware access 121 * @chip: low level interrupt hardware access
122 * @domain: Interrupt translation domain; responsible for mapping
123 * between hwirq number and linux irq number.
125 * @handler_data: per-IRQ data for the irq_chip methods 124 * @handler_data: per-IRQ data for the irq_chip methods
126 * @chip_data: platform-specific per-chip private data for the chip 125 * @chip_data: platform-specific per-chip private data for the chip
127 * methods, to allow shared chip implementations 126 * methods, to allow shared chip implementations
@@ -134,9 +133,11 @@ struct msi_desc;
134 */ 133 */
135struct irq_data { 134struct irq_data {
136 unsigned int irq; 135 unsigned int irq;
136 unsigned long hwirq;
137 unsigned int node; 137 unsigned int node;
138 unsigned int state_use_accessors; 138 unsigned int state_use_accessors;
139 struct irq_chip *chip; 139 struct irq_chip *chip;
140 struct irq_domain *domain;
140 void *handler_data; 141 void *handler_data;
141 void *chip_data; 142 void *chip_data;
142 struct msi_desc *msi_desc; 143 struct msi_desc *msi_desc;