diff options
author | Marc Zyngier <maz@kernel.org> | 2022-07-03 14:08:46 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-07-17 11:55:32 +0100 |
commit | da8d120fbafe1d3217d25ac45493538b37cff87c (patch) | |
tree | 2a0d063a48d40d68080ebf063b1e1ae655079515 /lib/crc16.c | |
parent | a111daf0c53ae91e71fd2bfe7497862d14132e3e (diff) |
KVM: arm64: Add get_reg_by_id() as a sys_reg_desc retrieving helper
find_reg_by_id() requires a sys_reg_param as input, which most
users provide as a on-stack variable, but don't make any use of
the result.
Provide a helper that doesn't have this requirement and simplify
the callers (all but one).
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'lib/crc16.c')
0 files changed, 0 insertions, 0 deletions