aboutsummaryrefslogtreecommitdiff
path: root/hw/kvmclock.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2011-06-08 16:10:58 +0200
committerMarcelo Tosatti <mtosatti@redhat.com>2011-06-20 15:16:45 -0300
commit5802e066ebcca382dbb81df3417930ee23873252 (patch)
treee2be90eb93493534d2a4b7a4c9ca940da8f89d7e /hw/kvmclock.c
parente205c7902f01664f4ad6dccc32ba1472e6d32d34 (diff)
kvm: Drop CONFIG_KVM_PARA
The kvm_para.h header is now always available. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'hw/kvmclock.c')
-rw-r--r--hw/kvmclock.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/hw/kvmclock.c b/hw/kvmclock.c
index 004c4add8c..692ad182f0 100644
--- a/hw/kvmclock.c
+++ b/hw/kvmclock.c
@@ -17,8 +17,6 @@
#include "kvm.h"
#include "kvmclock.h"
-#if defined(CONFIG_KVM_PARA) && defined(KVM_CAP_ADJUST_CLOCK)
-
#include <linux/kvm.h>
#include <linux/kvm_para.h>
@@ -120,10 +118,3 @@ static void kvmclock_register_device(void)
}
device_init(kvmclock_register_device);
-
-#else /* !(CONFIG_KVM_PARA && KVM_CAP_ADJUST_CLOCK) */
-
-void kvmclock_create(void)
-{
-}
-#endif /* !(CONFIG_KVM_PARA && KVM_CAP_ADJUST_CLOCK) */