powerpc: Include asm/reg.h in asm/svm.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Tue, 8 Mar 2022 19:20:22 +0000 (20:20 +0100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 May 2022 14:00:20 +0000 (00:00 +1000)
commiteb4713c40a619046af99586743d48b9b4435d371
tree6c89d982e6e98ad75fc3c8daacfdf7f64b64a13c
parent07071346bb76f4fbc2c1ca8894ec3d3ad2f22577
powerpc: Include asm/reg.h in asm/svm.h

is_secure_guest() uses mfmsr().

Don't rely on users to include asm/reg.h, include
it in asm/svm.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/482c82c8a29d5fb3ea279b34f107e0e775001344.1646767214.git.christophe.leroy@csgroup.eu
arch/powerpc/include/asm/svm.h