From: <vl...@us...> - 2008-04-21 16:35:00
|
Revision: 347 http://scst.svn.sourceforge.net/scst/?rev=347&view=rev Author: vlnb Date: 2008-04-21 09:34:55 -0700 (Mon, 21 Apr 2008) Log Message: ----------- Fixes compilation brokenness on kernels below 2.6.24 Modified Paths: -------------- trunk/iscsi-scst/kernel/digest.c trunk/scst/include/scst.h Modified: trunk/iscsi-scst/kernel/digest.c =================================================================== --- trunk/iscsi-scst/kernel/digest.c 2008-04-21 15:04:10 UTC (rev 346) +++ trunk/iscsi-scst/kernel/digest.c 2008-04-21 16:34:55 UTC (rev 347) @@ -16,7 +16,7 @@ */ #include <asm/types.h> -#include <asm/scatterlist.h> +#include <linux/scatterlist.h> #include "iscsi.h" #include "digest.h" Modified: trunk/scst/include/scst.h =================================================================== --- trunk/scst/include/scst.h 2008-04-21 15:04:10 UTC (rev 346) +++ trunk/scst/include/scst.h 2008-04-21 16:34:55 UTC (rev 347) @@ -2353,12 +2353,6 @@ sg->length = len; } -static inline void sg_set_buf(struct scatterlist *sg, const void *buf, - unsigned int buflen) -{ - sg_set_page(sg, virt_to_page(buf), buflen, offset_in_page(buf)); -} - #endif /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24) */ static inline void sg_clear(struct scatterlist *sg) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |