linux/arch/arm64/include
Geoff Levand 8729369484 arm64/kvm: Fix assembler compatibility of macros
[ Upstream commit 286fb1cc32 ]

Some of the macros defined in kvm_arm.h are useful in assembly files, but are
not compatible with the assembler.  Change any C language integer constant
definitions using appended U, UL, or ULL to the UL() preprocessor macro.  Also,
add a preprocessor include of the asm/memory.h file which defines the UL()
macro.

Fixes build errors like these when using kvm_arm.h in assembly
source files:

  Error: unexpected characters following instruction at operand 3 -- `and x0,x1,#((1U<<25)-1)'

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-07-13 08:50:06 -04:00
..
asm arm64/kvm: Fix assembler compatibility of macros 2015-07-13 08:50:06 -04:00
uapi/asm KVM: arm/arm64: check IRQ number on userland injection 2015-05-17 19:11:50 -04:00