net/thunderx: fix build with clang
Replaced usage of %a0 in inline assembly with [%x0] Signed-off-by: Ashwin Sekhar T K <ashwin.sekhar@caviumnetworks.com> Reviewed-by: Jerin Jacob <jerin.jacob@caviumnetworks.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
This commit is contained in:
parent
fa50d3b27a
commit
8059c1867f
@ -80,7 +80,7 @@
|
||||
/* ARM64 specific functions */
|
||||
#if defined(RTE_ARCH_ARM64)
|
||||
#define nicvf_prefetch_store_keep(_ptr) ({\
|
||||
asm volatile("prfm pstl1keep, %a0\n" : : "p" (_ptr)); })
|
||||
asm volatile("prfm pstl1keep, [%x0]\n" : : "r" (_ptr)); })
|
||||
|
||||
|
||||
#define NICVF_LOAD_PAIR(reg1, reg2, addr) ({ \
|
||||
|
Loading…
Reference in New Issue
Block a user