]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitaabba3c6abd50b05b1fc2c6ec44244aa6bcda576
treedeecc1d76dfe655cebdf3266c0e532b712ec47ef
parent48520187894324ac50b323c140096cd6d5c96614
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