diff options
author | Avi Kivity <avi@redhat.com> | 2010-11-17 12:40:50 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-01-12 10:29:32 +0100 |
commit | 8a6bcaa6efeb7f970474890d4dcfe89774ff26a4 (patch) | |
tree | cb9d11d9048cfcb8c7ae573c490f342d725b3235 /arch | |
parent | KVM: VMX: Inform user about INTEL_TXT dependency (diff) | |
download | linux-8a6bcaa6efeb7f970474890d4dcfe89774ff26a4.tar.xz linux-8a6bcaa6efeb7f970474890d4dcfe89774ff26a4.zip |
KVM: x86 emulator: drop unused #ifndef __KERNEL__
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/emulate.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kvm/emulate.c b/arch/x86/kvm/emulate.c index 38b6e8dafaff..ffd6e017b619 100644 --- a/arch/x86/kvm/emulate.c +++ b/arch/x86/kvm/emulate.c @@ -20,16 +20,9 @@ * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 */ -#ifndef __KERNEL__ -#include <stdio.h> -#include <stdint.h> -#include <public/xen.h> -#define DPRINTF(_f, _a ...) printf(_f , ## _a) -#else #include <linux/kvm_host.h> #include "kvm_cache_regs.h" #define DPRINTF(x...) do {} while (0) -#endif #include <linux/module.h> #include <asm/kvm_emulate.h> |