]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kvm/vmx.c
KVM: VMX: Factor out is_exception_n helper
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 9 Feb 2016 19:14:21 +0000 (20:14 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 16 Feb 2016 17:48:30 +0000 (18:48 +0100)
commit5bb16016ce111f3f4bc68bb109f7e5be6bc14ad7
treed7c1bd3ff3ab2eea3eaae5f6b41ba66fcceb9cf5
parent6b6de68c63eda6240ec92e44b998f910156f8806
KVM: VMX: Factor out is_exception_n helper

There is quite some common code in all these is_<exception>() helpers.
Factor it out before adding even more of them.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx.c