summaryrefslogtreecommitdiff
path: root/packages/dsplink/files/prcs-fix-include.patch
blob: 421bd706f7709c9de32c52aeac93c6c0e1f4cbf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
--- /tmp/prcs.c	2008-05-15 20:35:49.946802023 +0200
+++ dsplink_1_50/dsplink/gpp/src/osal/Linux/prcs.c	2008-05-15 20:36:01.386858569 +0200
@@ -17,6 +17,7 @@
 
 /*  ----------------------------------- OS Specific Headers         */
 #include <linux/autoconf.h>
+#include <linux/sched.h>
 #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>