[ewg] [PATCH] Fix Compile problem on EL 5.1 on IA64 in OFED 1.4

Woodruff, Robert J robert.j.woodruff at intel.com
Wed Jul 23 10:10:42 PDT 2008


Hi Vlad,

Can you apply this patch to the OFED 1.4 tree, backports for
EL 5.1. It fixes a bug with compiling on IA64. bug number 1102.

Thanks
woody

diff -Naurp
ofa_kernel-1.4/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-map
ping.h
ofa_kernel-1.4-new/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma
-mapping.h
---
ofa_kernel-1.4/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-map
ping.h      2008-07-16 09:07:15.000000000 -0400
+++
ofa_kernel-1.4-new/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma
-mapping.h  2008-07-18 16:01:28.000000000 -0400
@@ -3,7 +3,7 @@

 #include_next <linux/dma-mapping.h>

-#if !defined(__x86_64__) && !defined(__powerpc__)
+#if !defined(__x86_64__) && !defined(__powerpc__) && !defined(__ia64__)

 /* x86_64 was the only architecture that had valid_dma_direction
  * before 2.6.18 */



More information about the ewg mailing list