summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/kvm_host.h
diff options
context:
space:
mode:
authorNadav Amit <namit@cs.technion.ac.il>2015-03-29 16:33:03 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2015-03-30 17:46:37 +0300
commit0efb04406de834d820f7ba150a00d1d3194aa8a6 (patch)
tree2e0d0b121266237c4d3d26a12c35a6c68e6df6fd /arch/x86/include/asm/kvm_host.h
parent900efe200e317649aecbeaa55619a4fc3adb2251 (diff)
downloadlinux-0efb04406de834d820f7ba150a00d1d3194aa8a6.tar.xz
KVM: x86: removing redundant eflags bits definitions
The eflags are redefined (using other defines) in emulate.c. Use the definition from processor-flags.h as some mess already started. No functional change. Signed-off-by: Nadav Amit <namit@cs.technion.ac.il> Message-Id: <1427635984-8113-2-git-send-email-namit@cs.technion.ac.il> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_host.h')
-rw-r--r--arch/x86/include/asm/kvm_host.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/include/asm/kvm_host.h b/arch/x86/include/asm/kvm_host.h
index bf5a1606ccd5..7ba3d9dc7ca2 100644
--- a/arch/x86/include/asm/kvm_host.h
+++ b/arch/x86/include/asm/kvm_host.h
@@ -84,8 +84,6 @@ static inline gfn_t gfn_to_index(gfn_t gfn, gfn_t base_gfn, int level)
#define SELECTOR_TI_MASK (1 << 2)
#define SELECTOR_RPL_MASK 0x03
-#define IOPL_SHIFT 12
-
#define KVM_PERMILLE_MMU_PAGES 20
#define KVM_MIN_ALLOC_MMU_PAGES 64
#define KVM_MMU_HASH_SHIFT 10