[PATCH v4 07/32] arm64: KVM: architecture specific MMU backend

Catalin Marinas catalin.marinas at arm.com
Mon May 20 11:57:40 EDT 2013


On Tue, May 14, 2013 at 03:13:35PM +0100, Marc Zyngier wrote:
> +static inline bool kvm_is_write_fault(unsigned long esr)
> +{
> +	unsigned long esr_ec = esr >> ESR_EL2_EC_SHIFT;

Not that it would make much difference but for consistency - we use esr
as an 'unsigned int' in the arm64 code (only 32-bit needed).

-- 
Catalin



More information about the linux-arm-kernel mailing list