x86: pci-gart fix
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 25 Oct 2007 07:13:32 +0000 (09:13 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Thu, 25 Oct 2007 07:13:32 +0000 (09:13 +0200)
map_sg could copy the last sg element to another position (if merging
some elements). It breaks sg chaining. This copies only
dma_address/length instead of the whole sg element.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found