]> 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)
commit0b3825ec4a7a89ab886db26ef01165189f3fb2bf
treeab88ec503ee99904013185fee4974a8ca2d457a6
parent6c397f44ba454f1e54f209a35fc7ea8bc424fe1e
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