aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2022-06-30 17:04:55 +0100
committerWill Deacon <[email protected]>2022-07-01 15:22:51 +0100
commitfa8aa59ae6454b7a6a670acb2097e7800992cba1 (patch)
tree3904c8d6a2770c0c6adb10916a5701c2347b6a92 /lib/mpi/mpi-sub-ui.c
parentae4b7e38e9a94798f08f5d66b02077900ab92903 (diff)
arm64: Factor out checking of a feature against the override into a macro
Checking for a feature being supported from assembly code is a bit tedious if we need to factor in the idreg override. Since we already have such code written for forcing nVHE, move the whole thing into a macro. This heavily relies on the override structure being called foo_override for foo_el1. No functional change. Reviewed-by: Mark Brown <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions