diff options
author | Marc Zyngier <maz@kernel.org> | 2021-10-08 14:58:34 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-11 09:07:28 +0100 |
commit | a78738ed1d9bf40d09109599b884508c69d188b8 (patch) | |
tree | 5ffc4c4445d8205167f008b056a2ad54906f4a60 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
KVM: arm64: Turn __KVM_HOST_SMCCC_FUNC_* into an enum (mostly)
__KVM_HOST_SMCCC_FUNC_* is a royal pain, as there is a fair amount
of churn around these #defines, and we avoid making it an enum
only for the sake of the early init, low level code that requires
__KVM_HOST_SMCCC_FUNC___kvm_hyp_init to be usable from assembly.
Let's be brave and turn everything but this symbol into an enum,
using a bit of arithmetic to avoid any overlap.
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/877depq9gw.wl-maz@kernel.org
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20211008135839.1193-2-will@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions