]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm: Explicitly mark kvm guest code as __init
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Sep 2019 11:57:45 +0000 (21:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:40 +0000 (00:04 +1000)
commit52e77519119983da2a304d3ba4aac5233dcf8429
treeab88ec503ee99904013185fee4974a8ca2d457a6
parentd9ed462694267fb10e4cf2196ff169476760160c
powerpc/kvm: Explicitly mark kvm guest code as __init

All the code in kvm.c can be marked __init. Most of it is already
inlined into the initcall, but not all. So instead of relying on the
inlining, mark it all as __init. This saves ~280 bytes of text for my
configuration.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190911115746.12433-3-mpe@ellerman.id.au
arch/powerpc/kernel/kvm.c