aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq/manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/irq/manage.c')
-rw-r--r--kernel/irq/manage.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c
index 46953a06f4a8..c2741b02ad38 100644
--- a/kernel/irq/manage.c
+++ b/kernel/irq/manage.c
@@ -261,6 +261,15 @@ void enable_irq(unsigned int irq)
261} 261}
262EXPORT_SYMBOL(enable_irq); 262EXPORT_SYMBOL(enable_irq);
263 263
264/*
265 * [ Not in kernel/irq/handle.c, so that GCC does not
266 * inline the __weak alias: ]
267 */
268int __weak arch_init_chip_data(struct irq_desc *desc, int cpu)
269{
270 return 0;
271}
272
264static int set_irq_wake_real(unsigned int irq, unsigned int on) 273static int set_irq_wake_real(unsigned int irq, unsigned int on)
265{ 274{
266 struct irq_desc *desc = irq_to_desc(irq); 275 struct irq_desc *desc = irq_to_desc(irq);