[ewg] [Patch 2/3]ehca: Patchset to backport 2.6.24-rc1 kernel base
Stefan Roscher
ossrosch at linux.vnet.ibm.com
Wed Oct 31 09:07:24 PDT 2007
This patch backports the sg_page() interface to older kernelversions.
Signed-off-by: Stefan Roscher <stefan.roscher at de.ibm.com>
---
2.6.16/include/linux/scatterlist.h | 7 +++++++
2.6.16_sles10/include/linux/scatterlist.h | 7 +++++++
2.6.16_sles10_sp1/include/linux/scatterlist.h | 7 +++++++
2.6.17/include/linux/scatterlist.h | 7 +++++++
2.6.18-EL5.1/include/linux/scatterlist.h | 7 +++++++
2.6.18/include/linux/scatterlist.h | 7 +++++++
2.6.19/include/linux/scatterlist.h | 7 +++++++
2.6.20/include/linux/scatterlist.h | 7 +++++++
2.6.21/include/linux/scatterlist.h | 7 +++++++
2.6.22/include/linux/scatterlist.h | 7 +++++++
2.6.23/include/linux/scatterlist.h | 7 +++++++
11 files changed, 77 insertions(+)
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.16/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.16/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.16/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.16/include/linux/scatterlist.h 2007-10-31 10:41:34.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.16_sles10/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.16_sles10/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.16_sles10/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.16_sles10/include/linux/scatterlist.h 2007-10-31 10:41:37.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.16_sles10_sp1/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.16_sles10_sp1/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.16_sles10_sp1/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.16_sles10_sp1/include/linux/scatterlist.h 2007-10-31 10:41:41.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.17/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.17/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.17/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.17/include/linux/scatterlist.h 2007-10-31 10:41:45.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.18/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.18/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.18/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.18/include/linux/scatterlist.h 2007-10-31 10:41:49.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.18-EL5.1/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.18-EL5.1/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.18-EL5.1/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.18-EL5.1/include/linux/scatterlist.h 2007-10-31 10:41:52.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.19/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.19/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.19/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.19/include/linux/scatterlist.h 2007-10-31 10:41:56.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.20/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.20/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.20/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.20/include/linux/scatterlist.h 2007-10-31 10:42:00.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.21/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.21/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.21/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.21/include/linux/scatterlist.h 2007-10-31 10:42:04.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.22/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.22/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.22/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.22/include/linux/scatterlist.h 2007-10-31 10:42:07.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
diff -Nurp linux-2.6_old/kernel_addons/backport/2.6.23/include/linux/scatterlist.h linux-2.6_new/kernel_addons/backport/2.6.23/include/linux/scatterlist.h
--- linux-2.6_old/kernel_addons/backport/2.6.23/include/linux/scatterlist.h 1969-12-31 19:00:00.000000000 -0500
+++ linux-2.6_new/kernel_addons/backport/2.6.23/include/linux/scatterlist.h 2007-10-31 10:43:46.000000000 -0400
@@ -0,0 +1,7 @@
+#ifndef BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+#define BACKPORT_2_6_23_LINUX_SCATTERLIST_H
+
+#include_next <linux/scatterlist.h>
+#define sg_page(x) (x)->page
+#endif
+
More information about the ewg
mailing list