summaryrefslogtreecommitdiff
path: root/system/vhba-module/vhba-module-scatterlist.diff
diff options
context:
space:
mode:
authorNiklas Nille Åkerström <nille.kungen[AT]gmail.com>2010-05-11 22:55:34 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 22:55:34 +0200
commit2057932eaf45e2ad7a4270dec79799237284ee97 (patch)
tree2976362edcbaf0228227e40262197bf12e3b9ac6 /system/vhba-module/vhba-module-scatterlist.diff
parent1f9f067f6c46430d8b7a92520d1ea07765675746 (diff)
downloadslackbuilds-2057932eaf45e2ad7a4270dec79799237284ee97.tar.gz
system/vhba-module: Added to 12.1 repository
Diffstat (limited to 'system/vhba-module/vhba-module-scatterlist.diff')
-rw-r--r--system/vhba-module/vhba-module-scatterlist.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/vhba-module/vhba-module-scatterlist.diff b/system/vhba-module/vhba-module-scatterlist.diff
new file mode 100644
index 0000000000..6c3540abaf
--- /dev/null
+++ b/system/vhba-module/vhba-module-scatterlist.diff
@@ -0,0 +1,12 @@
+--- vhba-module-1.1.0.orig/kat/scatterlist_has_page_link.c 2008-09-13 18:44:36.000000000 +0200
++++ vhba-module-1.1.0/kat/scatterlist_has_page_link.c 2008-09-13 19:01:33.000000000 +0200
+@@ -0,0 +1,9 @@
++#include <linux/autoconf.h>
++#include <linux/scatterlist.h>
++
++/* Note: scatterlist.page_link is used in kernel (2.6.24 <= version < X) */
++
++struct scatterlist s = { .page_link = 0 };
++
++//T#define KAT_SCATTERLIST_HAS_PAGE_LINK
++//F#include <linux/scatterlist.h>