diff options
author | Marc Zyngier <[email protected]> | 2021-10-08 14:58:34 +0100 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2021-10-11 09:07:28 +0100 |
commit | a78738ed1d9bf40d09109599b884508c69d188b8 (patch) | |
tree | 5ffc4c4445d8205167f008b056a2ad54906f4a60 /lib/test_fortify/write_overflow-strncpy-src.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Marc Zyngier <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions