summaryrefslogtreecommitdiffstats
path: root/arch/powerpc
diff options
context:
space:
mode:
authorJes Sorensen <jes@sgi.com>2009-02-25 10:38:53 -0600
committerAvi Kivity <avi@redhat.com>2009-06-10 11:48:28 +0300
commitc6c9fcdf0fff7da77c088be11e3c4d0181b36941 (patch)
tree2de6d8ecc5e58a3d3b744defa741faf191144d0b /arch/powerpc
parent0c72ea7fb8a39b4bba071b19f5f835af5b5e538a (diff)
downloadblackbird-op-linux-c6c9fcdf0fff7da77c088be11e3c4d0181b36941.tar.gz
blackbird-op-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/powerpc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud