]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit83460e821036f9c748f9d45621aea4234770c947
tree64712b8913a3571f383bcf966e12ffe66d899114
parent17e2fda634741c9a390d8993340de16b78124826
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