From e3bc11fc17b469f6a9fbc62b659feb7b842a2861 Mon Sep 17 00:00:00 2001 From: Daniel J Blueman Date: Wed, 10 Sep 2008 21:07:55 +0100 Subject: [PATCH] --- yaml --- r: 109751 b: refs/heads/master c: 36223a399f639b13b7a454349565934e6d3e2db0 h: refs/heads/master i: 109749: 68dab4e0b4df8f1baef0a3c1ec9b7fa8f05ccf7a 109747: 3fd67f781689dd5b3582ffe77d9cab4c52528c90 109743: 7b7bfea61bc61f50db53f333e3eb7868805931be v: v3 --- [refs] | 2 +- trunk/lib/swiotlb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 51c03451cc58..7198e7d282c7 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0e116227a01580acf47437adba3afadf21b6bd5f +refs/heads/master: 36223a399f639b13b7a454349565934e6d3e2db0 diff --git a/trunk/lib/swiotlb.c b/trunk/lib/swiotlb.c index 977edbdbc1de..8826fdf0f180 100644 --- a/trunk/lib/swiotlb.c +++ b/trunk/lib/swiotlb.c @@ -491,7 +491,7 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size, * the lowest available address range. */ dma_addr_t handle; - handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE); + handle = swiotlb_map_single(hwdev, NULL, size, DMA_FROM_DEVICE); if (swiotlb_dma_mapping_error(hwdev, handle)) return NULL;