diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-08-26 14:32:55 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-09-11 11:46:19 -0700 |
| commit | f21b04302404fa87826caa7f5fd3f7e07ab6782e (patch) | |
| tree | 7cd48e1400733684c88350421c9deb44c3b3d0bf /tools/perf/scripts/python/flamegraph.py | |
| parent | 917a53a4b461df5a848856e0715aa2d1fa3783fe (diff) | |
KVM: x86: Make master clock logic in guest PV clock updates 64-bit only
Wrap kvm_guest_time_update()'s entire use_master_clock block in #ifdef
CONFIG_X86_64 and provide a hardcoded-to-false variable for the 32-bit
path, as use_master_clock is never true on 32-bit (host_tsc_clocksource is
only set under CONFIG_X86_64)
Keep the local "ka" variable outside of the 64-bit-only code as it's also
used for Xen code, but tag it as potentially unused since it's not used on
32-bit kernels without Xen emulation.
For all intents and purposes, no functional change intended.
Link: https://patch.msgid.link/20260826213303.914988-16-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
