[openib-general] [PATCH RFC 04/21] ofed_1_2 Patch to include linux addons.
Steve Wise
swise at opengridcomputing.com
Mon Jan 15 13:19:26 PST 2007
Patch to include linux addons.
- change linux_stream* patch to a generic name
- add genalloc, kfifo, and netevent
Signed-off-by: Steve Wise <swise at opengridcomputing.com>
---
.../linux_stream_idr_to_2_6_5-7_244.patch | 25 -------------
.../linux_stuff_to_2_6_5-7_244.patch | 46 +++++++++++++++++++++++
2 files changed, 46 insertions(+), 25 deletions(-)
diff --git a/kernel_patches/backport/2.6.5_sles9_sp3/linux_stream_idr_to_2_6_5-7_244.patch b/kernel_patches/backport/2.6.5_sles9_sp3/linux_stream_idr_to_2_6_5-7_244.patch
deleted file mode 100644
index 74d8403..0000000
--- a/kernel_patches/backport/2.6.5_sles9_sp3/linux_stream_idr_to_2_6_5-7_244.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile
-index 163d991..2cd239f 100644
---- a/drivers/infiniband/core/Makefile
-+++ b/drivers/infiniband/core/Makefile
-@@ -26,3 +26,6 @@ ib_ucm-y := ucm.o
-
- ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_mem.o \
- uverbs_marshall.o
-+
-+obj-$(CONFIG_INFINIBAND) += stream.o
-+ib_core-y += stream.o ib_idr.o
-diff --git a/drivers/infiniband/core/stream.c b/drivers/infiniband/core/stream.c
-new file mode 100644
-index 0000000..96a48fe
---- /dev/null
-+++ b/drivers/infiniband/core/stream.c
-@@ -0,0 +1 @@
-+#include "src/stream.c"
-diff --git a/drivers/infiniband/core/ib_idr.c b/drivers/infiniband/core/ib_idr.c
-new file mode 100644
-index 0000000..58cf933
---- /dev/null
-+++ b/drivers/infiniband/core/ib_idr.c
-@@ -0,0 +1 @@
-+#include "src/ib_idr.c"
diff --git a/kernel_patches/backport/2.6.5_sles9_sp3/linux_stuff_to_2_6_5-7_244.patch b/kernel_patches/backport/2.6.5_sles9_sp3/linux_stuff_to_2_6_5-7_244.patch
new file mode 100644
index 0000000..6ca67a5
--- /dev/null
+++ b/kernel_patches/backport/2.6.5_sles9_sp3/linux_stuff_to_2_6_5-7_244.patch
@@ -0,0 +1,46 @@
+diff --git a/drivers/infiniband/core/Makefile b/drivers/infiniband/core/Makefile
+index 50fb1cd..51687a8 100644
+--- a/drivers/infiniband/core/Makefile
++++ b/drivers/infiniband/core/Makefile
+@@ -30,3 +30,6 @@ ib_ucm-y := ucm.o
+
+ ib_uverbs-y := uverbs_main.o uverbs_cmd.o uverbs_mem.o \
+ uverbs_marshall.o
++
++obj-$(CONFIG_INFINIBAND) += stream.o
++ib_core-y += stream.o ib_idr.o genalloc.o kfifo.o netevent.o
+diff --git a/drivers/infiniband/core/stream.c b/drivers/infiniband/core/stream.c
+new file mode 100644
+index 0000000..96a48fe
+--- /dev/null
++++ b/drivers/infiniband/core/stream.c
+@@ -0,0 +1 @@
++#include "src/stream.c"
+diff --git a/drivers/infiniband/core/ib_idr.c b/drivers/infiniband/core/ib_idr.c
+new file mode 100644
+index 0000000..58cf933
+--- /dev/null
++++ b/drivers/infiniband/core/ib_idr.c
+@@ -0,0 +1 @@
++#include "src/ib_idr.c"
+diff --git a/drivers/infiniband/core/genalloc.c b/drivers/infiniband/core/genalloc.c
+new file mode 100644
+index 0000000..58cf933
+--- /dev/null
++++ b/drivers/infiniband/core/genalloc.c
+@@ -0,0 +1 @@
++#include "src/genalloc.c"
+diff --git a/drivers/infiniband/core/kfifo.c b/drivers/infiniband/core/kfifo.c
+new file mode 100644
+index 0000000..58cf933
+--- /dev/null
++++ b/drivers/infiniband/core/kfifo.c
+@@ -0,0 +1 @@
++#include "src/kfifo.c"
+diff --git a/drivers/infiniband/core/netevent.c b/drivers/infiniband/core/netevent.c
+new file mode 100644
+index 0000000..58cf933
+--- /dev/null
++++ b/drivers/infiniband/core/netevent.c
+@@ -0,0 +1 @@
++#include "src/netevent.c"
More information about the general
mailing list