diff options
Diffstat (limited to 'include/linux/interrupt.h')
-rw-r--r-- | include/linux/interrupt.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h index 2aea5d22db07..e68a8e53bb59 100644 --- a/include/linux/interrupt.h +++ b/include/linux/interrupt.h | |||
@@ -93,27 +93,27 @@ typedef irqreturn_t (*irq_handler_t)(int, void *); | |||
93 | /** | 93 | /** |
94 | * struct irqaction - per interrupt action descriptor | 94 | * struct irqaction - per interrupt action descriptor |
95 | * @handler: interrupt handler function | 95 | * @handler: interrupt handler function |
96 | * @flags: flags (see IRQF_* above) | ||
97 | * @name: name of the device | 96 | * @name: name of the device |
98 | * @dev_id: cookie to identify the device | 97 | * @dev_id: cookie to identify the device |
99 | * @percpu_dev_id: cookie to identify the device | 98 | * @percpu_dev_id: cookie to identify the device |
100 | * @next: pointer to the next irqaction for shared interrupts | 99 | * @next: pointer to the next irqaction for shared interrupts |
101 | * @irq: interrupt number | 100 | * @irq: interrupt number |
102 | * @dir: pointer to the proc/irq/NN/name entry | 101 | * @flags: flags (see IRQF_* above) |
103 | * @thread_fn: interrupt handler function for threaded interrupts | 102 | * @thread_fn: interrupt handler function for threaded interrupts |
104 | * @thread: thread pointer for threaded interrupts | 103 | * @thread: thread pointer for threaded interrupts |
105 | * @thread_flags: flags related to @thread | 104 | * @thread_flags: flags related to @thread |
106 | * @thread_mask: bitmask for keeping track of @thread activity | 105 | * @thread_mask: bitmask for keeping track of @thread activity |
106 | * @dir: pointer to the proc/irq/NN/name entry | ||
107 | */ | 107 | */ |
108 | struct irqaction { | 108 | struct irqaction { |
109 | irq_handler_t handler; | 109 | irq_handler_t handler; |
110 | unsigned long flags; | ||
111 | void *dev_id; | 110 | void *dev_id; |
112 | void __percpu *percpu_dev_id; | 111 | void __percpu *percpu_dev_id; |
113 | struct irqaction *next; | 112 | struct irqaction *next; |
114 | int irq; | ||
115 | irq_handler_t thread_fn; | 113 | irq_handler_t thread_fn; |
116 | struct task_struct *thread; | 114 | struct task_struct *thread; |
115 | unsigned int irq; | ||
116 | unsigned int flags; | ||
117 | unsigned long thread_flags; | 117 | unsigned long thread_flags; |
118 | unsigned long thread_mask; | 118 | unsigned long thread_mask; |
119 | const char *name; | 119 | const char *name; |
@@ -142,8 +142,6 @@ request_any_context_irq(unsigned int irq, irq_handler_t handler, | |||
142 | extern int __must_check | 142 | extern int __must_check |
143 | request_percpu_irq(unsigned int irq, irq_handler_t handler, | 143 | request_percpu_irq(unsigned int irq, irq_handler_t handler, |
144 | const char *devname, void __percpu *percpu_dev_id); | 144 | const char *devname, void __percpu *percpu_dev_id); |
145 | |||
146 | extern void exit_irq_thread(void); | ||
147 | #else | 145 | #else |
148 | 146 | ||
149 | extern int __must_check | 147 | extern int __must_check |
@@ -177,8 +175,6 @@ request_percpu_irq(unsigned int irq, irq_handler_t handler, | |||
177 | { | 175 | { |
178 | return request_irq(irq, handler, 0, devname, percpu_dev_id); | 176 | return request_irq(irq, handler, 0, devname, percpu_dev_id); |
179 | } | 177 | } |
180 | |||
181 | static inline void exit_irq_thread(void) { } | ||
182 | #endif | 178 | #endif |
183 | 179 | ||
184 | extern void free_irq(unsigned int, void *); | 180 | extern void free_irq(unsigned int, void *); |