]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: mm: Use the bitmap API to allocate bitmaps
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Tue, 5 Jul 2022 20:56:51 +0000 (22:56 +0200)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Mon, 11 Jul 2022 08:28:12 +0000 (10:28 +0200)
commitb235da18dd32c4e93eb5c8d32c6716dce4a94859
treeedfd8e40bf26e18871a732d85f4e97b4e8363c30
parentdc60c321775f47b36c0dfb25b1124b6349cc76f8
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>
arch/mips/mm/context.c