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

Marc Zyngier marc.zyngier at arm.com
Tue May 7 12:29:37 EDT 2013


On 29/04/13 17:26, Catalin Marinas wrote:
> 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?

Sure, will do.

	M.
-- 
Jazz is not dead. It just smells funny...




More information about the linux-arm-kernel mailing list