]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: add asm_safe wrapper
authorRadim Krčmář <rkrcmar@redhat.com>
Tue, 8 Nov 2016 19:54:18 +0000 (20:54 +0100)
committerRadim Krčmář <rkrcmar@redhat.com>
Wed, 16 Nov 2016 21:09:45 +0000 (22:09 +0100)
commit73384d3ef145bddd110a7fa654d17c36f490ee34
treedeecc1d76dfe655cebdf3266c0e532b712ec47ef
parent4d7d5423a3e5a3470953b2c4d7adc30560ed200d
KVM: x86: add asm_safe wrapper

Move the existing exception handling for inline assembly into a macro
and switch its return values to X86EMUL type.

Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/emulate.c