KVM: ia64: Create inline function kvm_get_itc() to centralize ITC reading.
authorJes Sorensen <jes@sgi.com>
Wed, 25 Feb 2009 16:38:53 +0000 (10:38 -0600)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:28 +0000 (11:48 +0300)
Move all reading of special register 'AR_ITC' into two functions, one
in the kernel and one in the VMM module. When running on SN2, base the
result on the RTC rather the system ITC, as the ITC isn't
synchronized.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found