diff options
author | Alexandru Elisei <alexandru.elisei@arm.com> | 2021-10-11 11:58:40 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-10-11 14:13:59 +0100 |
commit | ebf6aa8c047352fe43b1e20e580f12d5564da28e (patch) | |
tree | 450691e25c32c3fb5e0fdd0b5f9120cd759fae94 /lib/test_fortify/write_overflow-strncpy.c | |
parent | 5a4309762356f05df4c92629e5df15ab75c42c0d (diff) |
KVM: arm64: Replace get_raz_id_reg() with get_raz_reg()
Reading a RAZ ID register isn't different from reading any other RAZ
register, so get rid of get_raz_id_reg() and replace it with get_raz_reg(),
which does the same thing, but does it without going through two layers of
indirection.
No functional change.
Suggested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20211011105840.155815-4-alexandru.elisei@arm.com
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy.c')
0 files changed, 0 insertions, 0 deletions