From: Jens Axboe Date: Mon, 16 Jul 2007 19:17:16 +0000 (+0200) Subject: Add chained sg support to linux/scatterlist.h X-Git-Tag: v2.6.24-rc1~833^2~1^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70eb8040dc81212c884a464b75e37dca8014f3ad;p=pandora-kernel.git Add chained sg support to linux/scatterlist.h The core of the patch - allow the last sg element in a scatterlist table to point to the start of a new table. We overload the LSB of the page pointer to indicate whether this is a valid sg entry, or merely a link to the next list. Includes a fix from Bartlomiej Zolnierkiewicz correcting the ifdef ARCH_HAS_SG_CHAIN guarding sg_last(). Signed-off-by: Jens Axboe --- Reading git-diff-tree failed