[PATCH v3 07/32] arm64: KVM: fault injection into a guest

Catalin Marinas catalin.marinas at arm.com
Mon Apr 29 12:26:52 EDT 2013


On Mon, Apr 08, 2013 at 05:17:09PM +0100, Marc Zyngier wrote:
> +static void inject_abt64(struct kvm_vcpu *vcpu, bool is_iabt, unsigned long addr)
> +{
> +	unsigned long cpsr = *vcpu_cpsr(vcpu);
> +	int is_aarch32;
> +	u32 esr = 0;
> +
> +	is_aarch32 = vcpu_mode_is_32bit(vcpu);

Minor thing - use bool here to match the function definition?

-- 
Catalin



More information about the linux-arm-kernel mailing list