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)
commite88a39dee10d3a506ed8c4ba78cde0dd76a6fc83
tree64712b8913a3571f383bcf966e12ffe66d899114
parent82861924a5f26208c8421a799a4e8724d48eb560
x86: pci-gart fix

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>
arch/x86/kernel/pci-gart_64.c