[ofa-general] [PATCH 1/1] SDP - Fix compile problem on 2.6.24 ia64

Jim Mott jim at mellanox.com
Mon Feb 11 12:42:26 PST 2008


Signed-off-by: Jim Mott <jim at mellanox.com>
---

===================================================================
diff --git a/drivers/infiniband/ulp/sdp/sdp_main.c
b/drivers/infiniband/ulp/sdp/sdp_main.c
index 8f7c8f9..dcc60e3 100644
--- a/drivers/infiniband/ulp/sdp/sdp_main.c
+++ b/drivers/infiniband/ulp/sdp/sdp_main.c
@@ -45,6 +45,7 @@
    but for SDP HW checksum is always set, so ... */

 #include <linux/errno.h>
+#include <linux/types.h>
 #include <asm/checksum.h>

 static inline
diff --git a/kernel_patches/backport/2.6.21/sdp_ia64.patch
b/kernel_patches/backport/2.6.21/sdp_ia64.patch
index b123e2b..f789cb2 100644
--- a/kernel_patches/backport/2.6.21/sdp_ia64.patch
+++ b/kernel_patches/backport/2.6.21/sdp_ia64.patch
@@ -1,9 +1,9 @@
-Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
+Index: ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c
 ===================================================================
---- ofed_1_2.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2007-05-16 16:28:34.000000000 +0300
-+++ ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c     2007-05-16
16:28:47.000000000 +0300
-@@ -30,26 +30,6 @@
-  * SOFTWARE.
+--- ofed_1_3.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2008-02-11 11:34:32.000000000 -0800
++++ ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c     2008-02-11
12:20:09.000000000 -0800
+@@ -39,27 +39,6 @@
+  *  2 of the License, or(at your option) any later version.
   */

 -#if defined(__ia64__)
@@ -12,6 +12,7 @@ Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
 -   but for SDP HW checksum is always set, so ... */
 -
 -#include <linux/errno.h>
+-#include <linux/types.h>
 -#include <asm/checksum.h>
 -
 -static inline
diff --git a/kernel_patches/backport/2.6.22/sdp_ia64.patch
b/kernel_patches/backport/2.6.22/sdp_ia64.patch
index b123e2b..f789cb2 100644
--- a/kernel_patches/backport/2.6.22/sdp_ia64.patch
+++ b/kernel_patches/backport/2.6.22/sdp_ia64.patch
@@ -1,9 +1,9 @@
-Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
+Index: ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c
===================================================================
---- ofed_1_2.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2007-05-16 16:28:34.000000000 +0300
-+++ ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c     2007-05-16
16:28:47.000000000 +0300
-@@ -30,26 +30,6 @@
-  * SOFTWARE.
+--- ofed_1_3.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2008-02-11 11:34:32.000000000 -0800
++++ ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c     2008-02-11
12:20:09.000000000 -0800
+@@ -39,27 +39,6 @@
+  *  2 of the License, or(at your option) any later version.
   */

 -#if defined(__ia64__)
@@ -12,6 +12,7 @@ Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
 -   but for SDP HW checksum is always set, so ... */
 -
 -#include <linux/errno.h>
+-#include <linux/types.h>
 -#include <asm/checksum.h>
 -
 -static inline
diff --git a/kernel_patches/backport/2.6.22_suse10_3/sdp_ia64.patch
b/kernel_patches/backport/2.6.22_suse10_3/sdp_ia64.patch
index b123e2b..f789cb2 100644
--- a/kernel_patches/backport/2.6.22_suse10_3/sdp_ia64.patch
+++ b/kernel_patches/backport/2.6.22_suse10_3/sdp_ia64.patch
@@ -1,9 +1,9 @@
-Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
+Index: ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c
===================================================================
---- ofed_1_2.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2007-05-16 16:28:34.000000000 +0300
-+++ ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c     2007-05-16
16:28:47.000000000 +0300
-@@ -30,26 +30,6 @@
-  * SOFTWARE.
+--- ofed_1_3.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2008-02-11 11:34:32.000000000 -0800
++++ ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c     2008-02-11
12:20:09.000000000 -0800
+@@ -39,27 +39,6 @@
+  *  2 of the License, or(at your option) any later version.
   */

 -#if defined(__ia64__)
@@ -12,6 +12,7 @@ Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
 -   but for SDP HW checksum is always set, so ... */
 -
 -#include <linux/errno.h>
+-#include <linux/types.h>
 -#include <asm/checksum.h>
 -
 -static inline
diff --git a/kernel_patches/backport/2.6.23/sdp_ia64.patch
b/kernel_patches/backport/2.6.23/sdp_ia64.patch
index b123e2b..f789cb2 100644
--- a/kernel_patches/backport/2.6.23/sdp_ia64.patch
+++ b/kernel_patches/backport/2.6.23/sdp_ia64.patch
@@ -1,9 +1,9 @@
-Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
+Index: ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c
===================================================================
---- ofed_1_2.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2007-05-16 16:28:34.000000000 +0300
-+++ ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c     2007-05-16
16:28:47.000000000 +0300
-@@ -30,26 +30,6 @@
-  * SOFTWARE.
+--- ofed_1_3.orig/drivers/infiniband/ulp/sdp/sdp_main.c
2008-02-11 11:34:32.000000000 -0800
++++ ofed_1_3/drivers/infiniband/ulp/sdp/sdp_main.c     2008-02-11
12:20:09.000000000 -0800
+@@ -39,27 +39,6 @@
+  *  2 of the License, or(at your option) any later version.
   */

 -#if defined(__ia64__)
@@ -12,6 +12,7 @@ Index: ofed_1_2/drivers/infiniband/ulp/sdp/sdp_main.c
 -   but for SDP HW checksum is always set, so ... */
 -
 -#include <linux/errno.h>
+-#include <linux/types.h>
 -#include <asm/checksum.h>
 -
 -static inline



More information about the general mailing list