summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-08-26 14:33:01 -0700
committerSean Christopherson <seanjc@google.com>2026-09-11 11:46:19 -0700
commitd7841275e1fb4ad1e1877e56725ebda5b6e3143d (patch)
tree35a89cc20e21ca2a9c80b57296b00c751dc27892 /scripts/basic/split-include.c
parent0a0ab23b05f031ee849357fe0a5e1f667b46277e (diff)
downloadlinux-d7841275e1fb4ad1e1877e56725ebda5b6e3143d.tar.gz
linux-d7841275e1fb4ad1e1877e56725ebda5b6e3143d.zip
KVM: x86: Use kernel timekeeping snapshot to get walltime+TSC
Replace the KVM-private vgettsc()+/do_do_realtime() timekeeping reimplementation with calls to the recently crafted, generic ktime_get_snapshot_id() interface. As noted previously, the snapshot provides both the system time and the raw_cycles (TSC), atomically paired using a sequence counter. With great pleasure, delete the now unused read_tsc() and vgettsc() Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> [sean: separate from other conversions, express joy at vgettsc()'s demise] Link: https://patch.msgid.link/20260826213303.914988-22-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions