diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/pci-base_32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/pci-base_32.c b/arch/x86/kernel/pci-base_32.c index 7caf5c211f23..837bbe91043e 100644 --- a/arch/x86/kernel/pci-base_32.c +++ b/arch/x86/kernel/pci-base_32.c | |||
@@ -24,6 +24,7 @@ static int pci32_dma_map_sg(struct device *dev, struct scatterlist *sglist, | |||
24 | BUG_ON(!sg_page(sg)); | 24 | BUG_ON(!sg_page(sg)); |
25 | 25 | ||
26 | sg->dma_address = sg_phys(sg); | 26 | sg->dma_address = sg_phys(sg); |
27 | sg->dma_length = sg->length; | ||
27 | } | 28 | } |
28 | 29 | ||
29 | flush_write_buffers(); | 30 | flush_write_buffers(); |