Skip to content
Commit 5e7c29a7 authored by Dave Martin's avatar Dave Martin
Browse files

KVM: arm64: Factor out KVM_GET_REG_LIST core register enumeration



Currently, enumeration of the core register IDs for
KVM_GET_REG_LIST is open-coded in kvm_arm_copy_reg_indices().

This will become cumbersome as the enumeration logic becomes more
complex.  In preparation for future patches, this patch factors the
code out into a separate function copy_core_reg_indices(),
consistently with the way other classes of registers are handled.

No functional change.

Signed-off-by: default avatarDave Martin <Dave.Martin@arm.com>
parent 66d80a68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment