diff options
author | Nikolay Borisov <[email protected]> | 2023-10-30 16:17:28 +0200 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-01-29 08:37:47 -0800 |
commit | 955997e880175b00161efb83b1b282849ff412d3 (patch) | |
tree | ba35b5e4f09c69268ab0743f124f2e981f1c239d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 41bccc98fb7931d63d03f326a746ac4d429c1dd3 (diff) |
KVM: x86: Use mutex guards to eliminate __kvm_x86_vendor_init()
Use the recently introduced guard(mutex) infrastructure acquire and
automatically release vendor_module_lock when the guard goes out of scope.
Drop the inner __kvm_x86_vendor_init(), its sole purpose was to simplify
releasing vendor_module_lock in error paths.
No functional change intended.
Signed-off-by: Nikolay Borisov <[email protected]>
Reviewed-by: Kai Huang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: rewrite changelog]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions