[ewg] [PATCH 2/5] IB/core: PowerPC backport fixes for RH5.* kernels
Joachim Fenkes
fenkes at de.ibm.com
Mon Jul 14 12:30:56 PDT 2008
From: Alexander Schmidt <alexschm at de.ibm.com>
Signed-off-by: Joachim Fenkes <fenkes at de.ibm.com>
---
.../2.6.18-EL5.1/include/linux/dma-mapping.h | 2 +-
.../2.6.18-EL5.2/include/linux/dma-mapping.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-mapping.h b/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-mapping.h
index f219b21..7fd3254 100644
--- a/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-mapping.h
+++ b/kernel_addons/backport/2.6.18-EL5.1/include/linux/dma-mapping.h
@@ -3,7 +3,7 @@
#include_next <linux/dma-mapping.h>
-#ifndef __x86_64__
+#if !defined(__x86_64__) && !defined(__powerpc__)
/* x86_64 was the only architecture that had valid_dma_direction
* before 2.6.18 */
diff --git a/kernel_addons/backport/2.6.18-EL5.2/include/linux/dma-mapping.h b/kernel_addons/backport/2.6.18-EL5.2/include/linux/dma-mapping.h
index f219b21..7fd3254 100644
--- a/kernel_addons/backport/2.6.18-EL5.2/include/linux/dma-mapping.h
+++ b/kernel_addons/backport/2.6.18-EL5.2/include/linux/dma-mapping.h
@@ -3,7 +3,7 @@
#include_next <linux/dma-mapping.h>
-#ifndef __x86_64__
+#if !defined(__x86_64__) && !defined(__powerpc__)
/* x86_64 was the only architecture that had valid_dma_direction
* before 2.6.18 */
--
1.5.5
More information about the ewg
mailing list