commit | 9b04c5fec43c0da610a2c37f70c5b013101a6ad7 | [log] [tgz] |
---|---|---|
author | Cong Wang <amwang@redhat.com> | Fri Nov 25 23:14:39 2011 +0800 |
committer | Cong Wang <xiyou.wangcong@gmail.com> | Tue Mar 20 21:48:27 2012 +0800 |
tree | f04767281b7067fba91cf0d37440bf454c492e38 | |
parent | c3eede8e0a1292d95c051cf947738687b9c42322 [diff] [blame] |
mm: remove the second argument of k[un]map_atomic() Signed-off-by: Cong Wang <amwang@redhat.com>
diff --git a/mm/bounce.c b/mm/bounce.c index 4e9ae72..d1be02c 100644 --- a/mm/bounce.c +++ b/mm/bounce.c
@@ -50,9 +50,9 @@ unsigned char *vto; local_irq_save(flags); - vto = kmap_atomic(to->bv_page, KM_BOUNCE_READ); + vto = kmap_atomic(to->bv_page); memcpy(vto + to->bv_offset, vfrom, to->bv_len); - kunmap_atomic(vto, KM_BOUNCE_READ); + kunmap_atomic(vto); local_irq_restore(flags); }