diff options
author | Cong Wang <amwang@redhat.com> | 2011-11-25 10:14:23 -0500 |
---|---|---|
committer | Cong Wang <xiyou.wangcong@gmail.com> | 2012-03-20 09:48:19 -0400 |
commit | 77dfce076cbd76c04e90abff188d058cdbff78dd (patch) | |
tree | c2f1ac2dd386c68e6bf8dee8d996d0b6e36f9c73 /drivers/scsi/gdth.c | |
parent | 4679026d783eb5ac90247bc466d66b817b213abf (diff) |
scsi: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <amwang@redhat.com>
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index 3242bcabad97..d42ec921de46 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -2310,10 +2310,10 @@ static void gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp, | |||
2310 | return; | 2310 | return; |
2311 | } | 2311 | } |
2312 | local_irq_save(flags); | 2312 | local_irq_save(flags); |
2313 | address = kmap_atomic(sg_page(sl), KM_BIO_SRC_IRQ) + sl->offset; | 2313 | address = kmap_atomic(sg_page(sl)) + sl->offset; |
2314 | memcpy(address, buffer, cpnow); | 2314 | memcpy(address, buffer, cpnow); |
2315 | flush_dcache_page(sg_page(sl)); | 2315 | flush_dcache_page(sg_page(sl)); |
2316 | kunmap_atomic(address, KM_BIO_SRC_IRQ); | 2316 | kunmap_atomic(address); |
2317 | local_irq_restore(flags); | 2317 | local_irq_restore(flags); |
2318 | if (cpsum == cpcount) | 2318 | if (cpsum == cpcount) |
2319 | break; | 2319 | break; |