diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:21 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:18 -0400 |
commit | b0b38c767e5a3ede700744fb6a99db7bc6e74553 (patch) | |
tree | dae0f1ff32a5357b601c6a6103d454985e3f2f07 /drivers/media/video/ivtv/ivtv-udma.c | |
parent | b2f46e6882564897f6ea3ad904f0a65dc1c6cb3b (diff) |
media: remove the second argument of k[un]map_atomic()
Acked-by: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-udma.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-udma.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
57 | if (dma->bouncemap[map_offset] == NULL) | 57 | if (dma->bouncemap[map_offset] == NULL) |
58 | return -1; | 58 | return -1; |
59 | local_irq_save(flags); | 59 | local_irq_save(flags); |
60 | src = kmap_atomic(dma->map[map_offset], KM_BOUNCE_READ) + offset; | 60 | src = kmap_atomic(dma->map[map_offset]) + offset; |
61 | memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len); | 61 | memcpy(page_address(dma->bouncemap[map_offset]) + offset, src, len); |
62 | kunmap_atomic(src, KM_BOUNCE_READ); | 62 | kunmap_atomic(src); |
63 | local_irq_restore(flags); | 63 | local_irq_restore(flags); |
64 | sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); | 64 | sg_set_page(&dma->SGlist[map_offset], dma->bouncemap[map_offset], len, offset); |
65 | } | 65 | } |