aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ifxmips/patches/320-tapi_hack.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ifxmips/patches/320-tapi_hack.patch')
-rw-r--r--target/linux/ifxmips/patches/320-tapi_hack.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ifxmips/patches/320-tapi_hack.patch b/target/linux/ifxmips/patches/320-tapi_hack.patch
new file mode 100644
index 0000000000..aaf5a145d3
--- /dev/null
+++ b/target/linux/ifxmips/patches/320-tapi_hack.patch
@@ -0,0 +1,24 @@
+Index: linux-2.6.35.7/kernel/irq/chip.c
+===================================================================
+--- linux-2.6.35.7.orig/kernel/irq/chip.c 2010-10-15 18:40:33.000000000 +0200
++++ linux-2.6.35.7/kernel/irq/chip.c 2010-10-15 18:44:19.000000000 +0200
+@@ -723,6 +723,7 @@
+ set_irq_chip(irq, chip);
+ __set_irq_handler(irq, handle, 0, NULL);
+ }
++EXPORT_SYMBOL_GPL(set_irq_chip_and_handler);
+
+ void
+ set_irq_chip_and_handler_name(unsigned int irq, struct irq_chip *chip,
+Index: linux-2.6.35.7/kernel/irq/handle.c
+===================================================================
+--- linux-2.6.35.7.orig/kernel/irq/handle.c 2010-10-15 18:40:33.000000000 +0200
++++ linux-2.6.35.7/kernel/irq/handle.c 2010-10-15 18:44:19.000000000 +0200
+@@ -276,6 +276,7 @@
+ {
+ return (irq < NR_IRQS) ? irq_desc + irq : NULL;
+ }
++EXPORT_SYMBOL_GPL(irq_to_desc);
+
+ struct irq_desc *irq_to_desc_alloc_node(unsigned int irq, int node)
+ {