KVM: x86 emulator: drop unused #ifndef __KERNEL__
authorAvi Kivity <avi@redhat.com>
Wed, 17 Nov 2010 11:40:50 +0000 (13:40 +0200)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:29:32 +0000 (11:29 +0200)
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c

index 38b6e8dafaff9a3d46184db6c05516db826a75ec..ffd6e017b619353811efd983768b7b4e107f7063 100644 (file)
  * 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>