diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-07-09 17:56:43 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-11-24 21:57:50 +1100 |
commit | a96b20758b23be7e9f693218908228d6100c3c26 (patch) | |
tree | a1e55e0311b4f32a39b5fd7f40e00b4dfe8b4b34 /arch/powerpc/lib/code-patching.c | |
parent | 6fa1efeaa6671fb7339a6c62ceeec19e8e787963 (diff) | |
download | linux-a96b20758b23be7e9f693218908228d6100c3c26.tar.gz linux-a96b20758b23be7e9f693218908228d6100c3c26.tar.bz2 linux-a96b20758b23be7e9f693218908228d6100c3c26.zip |
KVM: PPC: Book3S HV: Use the bitmap API to allocate bitmaps
Use bitmap_zalloc()/bitmap_free() instead of hand-writing them.
It is less verbose and it improves the semantic.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/52e843a460bc374973149b8da0bd04f9761b80b7.1657382184.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions