diff options
| author | Jun Miao <jun.miao@intel.com> | 2026-01-05 14:54:23 +0800 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-01-13 17:36:44 -0800 |
| commit | de0dc71188ca54cfe13fac5c4334715fb37fe8ce (patch) | |
| tree | 34402bf915cd93533144ba592605ce634311d5cf /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | ead63640d4e72e6f6d464f4e31f7fecb79af8869 (diff) | |
KVM: x86: align the code with kvm_x86_call()
The use of static_call_cond() is essentially the same as static_call() on
x86 (e.g. static_call() now handles a NULL pointer as a NOP), and then the
kvm_x86_call() is added to improve code readability and maintainability
for keeping consistent code style.
Fixes 8d032b683c29 ("KVM: TDX: create/destroy VM structure")
Link: https://lore.kernel.org/all/3916caa1dcd114301a49beafa5030eca396745c1.1679456900.git.jpoimboe@kernel.org/
Link: https://lore.kernel.org/r/20240507133103.15052-3-wei.w.wang@intel.com
Signed-off-by: Jun Miao <jun.miao@intel.com>
Link: https://patch.msgid.link/20260105065423.1870622-1-jun.miao@intel.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
