diff options
Diffstat (limited to 'system/vhba-module/vhba-module-scatterlist.diff')
-rw-r--r-- | system/vhba-module/vhba-module-scatterlist.diff | 12 |
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> |