From: Cong Wang Date: Fri, 25 Nov 2011 15:14:21 +0000 (+0800) Subject: media: remove the second argument of k[un]map_atomic() X-Git-Tag: next-20111205~3^2~44 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=9da885869967148d03b6d7116a7b1bd95761836b;p=karo-tx-linux.git media: remove the second argument of k[un]map_atomic() --- diff --git a/drivers/media/video/ivtv/ivtv-udma.c b/drivers/media/video/ivtv/ivtv-udma.c index 69cc8166b20b..7338cb2d0a38 100644 --- a/drivers/media/video/ivtv/ivtv-udma.c +++ b/drivers/media/video/ivtv/ivtv-udma.c @@ -57,9 +57,9 @@ int ivtv_udma_fill_sg_list (struct ivtv_user_dma *dma, struct ivtv_dma_page_info if (dma->bouncemap[map_offset] == NULL) return -1; local_irq_save(flags); - src = kmap_atomic(dma->map[map_offset], KM_BOUNCE_READ) + offset; + src = kmap_atomic(dma->map[map_offset]) + offset; memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len); - kunmap_atomic(src, KM_BOUNCE_READ); + kunmap_atomic(src); local_irq_restore(flags); sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); }