|
@@ -261,6 +261,15 @@ void enable_irq(unsigned int irq)
|
|
|
}
|
|
|
EXPORT_SYMBOL(enable_irq);
|
|
|
|
|
|
+/*
|
|
|
+ * [ Not in kernel/irq/handle.c, so that GCC does not
|
|
|
+ * inline the __weak alias: ]
|
|
|
+ */
|
|
|
+int __weak arch_init_chip_data(struct irq_desc *desc, int cpu)
|
|
|
+{
|
|
|
+ return 0;
|
|
|
+}
|
|
|
+
|
|
|
static int set_irq_wake_real(unsigned int irq, unsigned int on)
|
|
|
{
|
|
|
struct irq_desc *desc = irq_to_desc(irq);
|