diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-05 23:56:51 +0300 |
---|---|---|
committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2022-07-11 11:28:12 +0300 |
commit | b5eb8b536f91f52d4f3688bcae86bf85ba693a00 (patch) | |
tree | edfd8e40bf26e18871a732d85f4e97b4e8363c30 /arch/mips/mm/sc-debugfs.c | |
parent | 8512670d3547d19a7e013e0b1e2e1916d8ee4000 (diff) | |
download | linux-b5eb8b536f91f52d4f3688bcae86bf85ba693a00.tar.xz |
MIPS: mm: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc() instead of hand-writing them.
It is less verbose and it improves the semantic.
While at it, turn a bitmap_clear() into an equivalent bitmap_zero(). It is
also less verbose.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/mm/sc-debugfs.c')
0 files changed, 0 insertions, 0 deletions