]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/kvm: Add ifdefs around template code
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 11 Sep 2019 11:57:46 +0000 (21:57 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 13 Sep 2019 14:04:40 +0000 (00:04 +1000)
commit9b02061b179c8ef3d0986a264c6e3fef43bf2511
tree4e457acac9a5aeee51c961c1a29a40b6ceeebbca
parent0b3825ec4a7a89ab886db26ef01165189f3fb2bf
powerpc/kvm: Add ifdefs around template code

Some of the templates used for KVM patching are only used on certain
platforms, but currently they are always built-in, fix that.

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-4-mpe@ellerman.id.au
arch/powerpc/kernel/kvm_emul.S