mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
percpu: use bitmap_clear
Use bitmap_clear rather than clearing individual bits in a memory region. Signed-off-by: Akinobu Mita <[email protected]> Acked-by: Christoph Lameter <[email protected]> Signed-off-by: Tejun Heo <[email protected]>
This commit is contained in:
parent
dcd6c92267
commit
26dd8e0291
1 changed files with 1 additions and 2 deletions
|
|
@ -184,8 +184,7 @@ static void pcpu_unmap_pages(struct pcpu_chunk *chunk,
|
|||
page_end - page_start);
|
||||
}
|
||||
|
||||
for (i = page_start; i < page_end; i++)
|
||||
__clear_bit(i, populated);
|
||||
bitmap_clear(populated, page_start, page_end - page_start);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue