]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Remove internal timer abstraction
authorAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 15:01:50 +0000 (18:01 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Wed, 1 Aug 2012 03:21:06 +0000 (00:21 -0300)
commite9d90d472da97e1b1560bffb89578ba082c88a69
treea44f4b5d0d74f88b6dc886a6ee024ae7dd25a5c5
parent4a4541a40e1fe145c72c4b959fac524a5600d9fb
KVM: Remove internal timer abstraction

kvm_timer_fn(), the sole inhabitant of timer.c, is only used by lapic.c. Move
it there to make it easier to hack on it.

struct kvm_timer is a thin wrapper around hrtimer, and only adds obfuscation.
Move near its two users (with different names) to prepare for simplification.

Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/Makefile
arch/x86/kvm/i8254.c
arch/x86/kvm/i8254.h
arch/x86/kvm/kvm_timer.h [deleted file]
arch/x86/kvm/lapic.c
arch/x86/kvm/lapic.h
arch/x86/kvm/timer.c [deleted file]