diff options
author | Fuad Tabba <tabba@google.com> | 2024-06-03 13:28:50 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2024-06-04 15:06:33 +0100 |
commit | a69283ae1db8dd416870d931caa9e2d3d2c1cd8b (patch) | |
tree | 8237eb6239dfdc77bf435ab759b07edc8540c2bf /lib/string.c | |
parent | 1696fc2174dbab12228ea9ec4c213d6aeea348f8 (diff) | |
download | linux-stable-a69283ae1db8dd416870d931caa9e2d3d2c1cd8b.tar.gz linux-stable-a69283ae1db8dd416870d931caa9e2d3d2c1cd8b.tar.bz2 linux-stable-a69283ae1db8dd416870d931caa9e2d3d2c1cd8b.zip |
KVM: arm64: Refactor CPACR trap bit setting/clearing to use ELx format
When setting/clearing CPACR bits for EL0 and EL1, use the ELx
format of the bits, which covers both. This makes the code
clearer, and reduces the chances of accidentally missing a bit.
No functional change intended.
Reviewed-by: Oliver Upton <oliver.upton@linux.dev>
Signed-off-by: Fuad Tabba <tabba@google.com>
Link: https://lore.kernel.org/r/20240603122852.3923848-9-tabba@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions