diff options
| author | Marc Zyngier <maz@kernel.org> | 2026-03-21 21:24:18 +0000 |
|---|---|---|
| committer | Marc Zyngier <maz@kernel.org> | 2026-03-23 11:03:53 +0000 |
| commit | 59c6e12d40a5b05038b68bcdb4690456fee68e8a (patch) | |
| tree | d956ad7df83674fef362eb200a5d2d53155c98bd /tools/perf/scripts/python | |
| parent | ba64e273eac3d7ec4a2b621b3620c4d3b0399858 (diff) | |
KVM: arm64: pkvm: Use direct function pointers for cpu_{on,resume}
Instead of using a boolean to decide whether a CPU is booting or
resuming, just pass an actual function pointer around.
This makes the code a bit more straightforward to understand.
Reviewed-by: Fuad Tabba <tabba@google.com>
Tested-by: Fuad Tabba <tabba@google.com>
Link: https://patch.msgid.link/20260321212419.2803972-5-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
