Dave Martin 7aa92cf318 KVM: arm64: Refactor kvm_arm_num_regs() for easier maintenance
kvm_arm_num_regs() adds together various partial register counts in
a freeform sum expression, which makes it harder than necessary to
read diffs that add, modify or remove a single term in the sum
(which is expected to the common case under maintenance).

This patch refactors the code to add the term one per line, for
maximum readability.

Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: zhang.lei <zhang.lei@jp.fujitsu.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
2019-03-29 14:41:52 +00:00
..
2019-03-17 13:25:26 -07:00
2019-03-20 11:01:52 -07:00
2019-03-21 12:30:54 +01:00
2019-03-17 13:25:26 -07:00
2019-03-17 13:25:26 -07:00
2019-03-19 10:50:15 -07:00
2019-03-17 13:25:26 -07:00
2019-03-17 13:25:26 -07:00
2019-03-17 13:25:26 -07:00
2019-03-06 14:18:59 -08:00