summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorLiao Yuanhong <liaoyuanhong@vivo.com>2025-09-01 21:16:04 +0800
committerSean Christopherson <seanjc@google.com>2025-09-16 12:55:11 -0700
commitcbd860293d139fae44b76d821d8112aab89d8e17 (patch)
tree30ea17dd36fef62eb95fc768b9952d8f3e3a3936 /tools/docs/lib/parse_data_structs.py
parent4319fa120f0f42be167d56d84ece94340e11d61e (diff)
KVM: x86: hyper-v: Use guard() instead of mutex_lock() to simplify code
Use guard(mutex) instead of mutex_lock/mutex_unlock pair to simplify the error handling when setting up the TSC page for a Hyper-V guest. No functional change intended. Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com> Link: https://lore.kernel.org/r/20250901131604.646415-1-liaoyuanhong@vivo.com [sean: tweak changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions