diff options
author | Geoff Levand <geoff@infradead.org> | 2014-10-31 23:06:47 +0000 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2015-07-13 08:50:06 -0400 |
commit | 8729369484a2c655c5f351ad507e6bf099bc8f5e (patch) | |
tree | 87ea4821d60b7023543427d24ac8205613fe6bff /include/net/inet_frag.h | |
parent | e30a208ef738474220c53e91294c05659fa4acf0 (diff) |
arm64/kvm: Fix assembler compatibility of macros
[ Upstream commit 286fb1cc32b11c18da3573a8c8c37a4f9da16e30 ]
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>
Diffstat (limited to 'include/net/inet_frag.h')
0 files changed, 0 insertions, 0 deletions