diff options
Diffstat (limited to 'packages/dsplink/files/prcs-fix-include.patch')
-rw-r--r-- | packages/dsplink/files/prcs-fix-include.patch | 40 |
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> |