mm: remove the second argument of k[un]map_atomic()

Signed-off-by: Cong Wang <[email protected]>
This commit is contained in:
Cong Wang 2011-11-25 23:14:39 +08:00 • committed by Cong Wang
commit 9b04c5fec4
7 changed files with 35 additions and 35 deletions

View file

@ -50,9 +50,9 @@ static void bounce_copy_vec(struct bio_vec *to, unsigned char *vfrom)
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);
}