[PATCH 1/7] arm64/kvm: Fix assembler compatibility of macros

Mark Rutland
2014-10-06T10:10:48Z

On Fri, Oct 03, 2014 at 11:27:48PM +0100, Geoff Levand wrote:
> On Fri, 2014-10-03 at 11:26 +0100, Mark Rutland wrote:
> > Would you be able to fix those up at the same time? It doesn't look like there
> > are too many, and it should be a fairly mechanical change:
>
> Sure.
>
> > [mark at leverpostej:~/src/linux]% grep '[0-9][UL]' -- arch/arm64/include/asm/kvm_arm.h
> > #define VTTBR_BADDR_MASK (((1LLU << (40 - VTTBR_X)) - 1) << VTTBR_BADDR_SHIFT)
> > #define VTTBR_VMID_SHIFT (48LLU)
> > #define ESR_EL2_IL (1U << 25)
> > #define ESR_EL2_ISV (1U << ESR_EL2_ISV_SHIFT)
> > #define ESR_EL2_SAS (3U << ESR_EL2_SAS_SHIFT)
> > #define ESR_EL2_CV (1U << ESR_EL2_CV_SHIFT)
>
> The list is a bit longer if you look for hex numbers also, but I think
> I got them all.

Ah, yes.

Cheers for fixing the rest!

Mark.