diff options
author | 2009-02-25 10:38:53 -0600 | |
---|---|---|
committer | 2009-06-10 11:48:28 +0300 | |
commit | c6c9fcdf0fff7da77c088be11e3c4d0181b36941 (patch) | |
tree | 2de6d8ecc5e58a3d3b744defa741faf191144d0b /arch/ia64/kvm/kvm_fw.c | |
parent | KVM: ia64: Map in SN2 RTC registers to the VMM module (diff) | |
download | linux-c6c9fcdf0fff7da77c088be11e3c4d0181b36941.tar.gz linux-c6c9fcdf0fff7da77c088be11e3c4d0181b36941.tar.bz2 linux-c6c9fcdf0fff7da77c088be11e3c4d0181b36941.zip |
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>
Diffstat (limited to 'arch/ia64/kvm/kvm_fw.c')
0 files changed, 0 insertions, 0 deletions