mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
mm: remove the second argument of k[un]map_atomic()
Signed-off-by: Cong Wang <[email protected]>
This commit is contained in:
parent
c3eede8e0a
commit
9b04c5fec4
7 changed files with 35 additions and 35 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue