summaryrefslogtreecommitdiff
path: root/packages/dsplink/files
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-22 14:16:14 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-22 14:16:14 +0000
commitcdc5462dabd6f055c4e1afece9c321c4cb917350 (patch)
tree035f1de8324a55833f047504b5a3d8af22d46faa /packages/dsplink/files
parent6ca732b87c55135550201ed111c576f49e77c4c9 (diff)
dsplink: enhance patches to build against more kernels
Diffstat (limited to 'packages/dsplink/files')
-rw-r--r--packages/dsplink/files/prcs-fix-include.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/packages/dsplink/files/prcs-fix-include.patch b/packages/dsplink/files/prcs-fix-include.patch
index 12fcd5ec5d..421bd706f7 100644
--- a/packages/dsplink/files/prcs-fix-include.patch
+++ b/packages/dsplink/files/prcs-fix-include.patch
@@ -8,3 +8,43 @@
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/mm.h>
+
+--- dvevm_1_00_00_32.orig/dsplink_1_30_07ce/packages/dsplink_dm420/gpp/src/osal/Linux/2.6/isr.c
++++ dsplink_1_50/dsplink/gpp/src/osal/Linux/2.6.18/isr.c
+@@ -130,7 +130,7 @@ struct IsrObject_tag {
+ */
+ STATIC
+ irqreturn_t
+-ISR_Callback (int irq, void * arg, struct pt_regs * flags) ;
++ISR_Callback (int irq, void * arg) ;
+
+
+ /* ============================================================================
+@@ -664,7 +664,7 @@ ISR_Debug ()
+ */
+ STATIC
+ irqreturn_t
+-ISR_Callback (int irq, void * arg, struct pt_regs * flags)
++ISR_Callback (int irq, void * arg)
+ {
+ DSP_STATUS status = DSP_SOK ;
+ IsrObject * isrObj = (IsrObject *) (arg) ;
+
+--- /tmp/mem.c 2008-06-22 16:05:16.000000000 +0200
++++ dsplink_1_50/dsplink/gpp/src/osal/Linux/2.6.18/mem.c 2008-06-22 16:05:43.000000000 +0200
+@@ -16,6 +16,7 @@
+
+
+ /* ----------------------------------- OS Specific Headers */
++
+ #include <linux/autoconf.h>
+ #include <linux/spinlock.h>
+ #if (defined(DM642_PCI) || defined (DM64LC_PCI))
+@@ -31,6 +32,7 @@
+ #endif /* if (defined(DM642_PCI) || defined (DM64LC_PCI)) */
+ #include <linux/vmalloc.h>
+ #include <asm/io.h>
++#include <linux/sched.h>
+
+ /* ----------------------------------- DSP/BIOS Link */
+ #include <dsplink.h>