diff options
| author | Len Brown <len.brown@intel.com> | 2006-01-27 17:18:29 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2006-01-27 17:18:29 -0500 |
| commit | 292dd876ee765c478b27c93cc51e93a558ed58bf (patch) | |
| tree | 5b740e93253295baee2a9c414a6c66d03d44a9ef /lib/swiotlb.c | |
| parent | d4ec6c7cc9a15a7a529719bc3b84f46812f9842e (diff) | |
| parent | 9fdb62af92c741addbea15545f214a6e89460865 (diff) | |
Pull release into acpica branch
Diffstat (limited to 'lib/swiotlb.c')
| -rw-r--r-- | lib/swiotlb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/swiotlb.c b/lib/swiotlb.c index 3b482052f403..0af497b6b9a8 100644 --- a/lib/swiotlb.c +++ b/lib/swiotlb.c | |||
| @@ -463,7 +463,7 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size, | |||
| 463 | */ | 463 | */ |
| 464 | dma_addr_t handle; | 464 | dma_addr_t handle; |
| 465 | handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); | 465 | handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); |
| 466 | if (dma_mapping_error(handle)) | 466 | if (swiotlb_dma_mapping_error(handle)) |
| 467 | return NULL; | 467 | return NULL; |
| 468 | 468 | ||
| 469 | ret = phys_to_virt(handle); | 469 | ret = phys_to_virt(handle); |
