Commit a764b56b authored by Marc Zyngier's avatar Marc Zyngier
Browse files

KVM: arm64: Allow kvm_has_feat() to take variable arguments



In order to be able to write more compact (and easier to read) code,
let kvm_has_feat() and co take variable arguments. This enables
constructs such as:

	#define FEAT_SME	ID_AA64PFR1_EL1, SME, IMP

	if (kvm_has_feat(kvm, FEAT_SME))
		[...]

which is admitedly more readable.

Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
parent c6cbe6a4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment