commit | c6c9fcdf0fff7da77c088be11e3c4d0181b36941 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <jes@sgi.com> | Wed Feb 25 10:38:53 2009 -0600 |
committer | Avi Kivity <avi@redhat.com> | Wed Jun 10 11:48:28 2009 +0300 |
tree | 2de6d8ecc5e58a3d3b744defa741faf191144d0b | |
parent | 0c72ea7fb8a39b4bba071b19f5f835af5b5e538a [diff] |
KVM: ia64: Create inline function kvm_get_itc() to centralize ITC reading. 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>