SG: Move functions to lib/scatterlist.c and add sg chaining allocator helpers
authorJens Axboe <jens.axboe@oracle.com>
Fri, 30 Nov 2007 08:16:50 +0000 (09:16 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Mon, 28 Jan 2008 09:05:27 +0000 (10:05 +0100)
commit0db9299f48ebd4a860d6ad4e1d36ac50671d48e7
tree37ae5e75f26969b53548a1ea7c69284e6b269bc9
parent91525300baf162e83e923b09ca286f9205e21522
SG: Move functions to lib/scatterlist.c and add sg chaining allocator helpers

Manually doing chained sg lists is not trivial, so add some helpers
to make sure that drivers get it right.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/scatterlist.h
lib/Makefile
lib/scatterlist.c [new file with mode: 0644]