From: Ashwin Sekhar T K Date: Fri, 12 May 2017 05:45:44 +0000 (-0700) Subject: net/thunderx: fix build with clang X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=8059c1867f545a4c33b376074b79d0832daf02fa;p=dpdk.git net/thunderx: fix build with clang Replaced usage of %a0 in inline assembly with [%x0] Signed-off-by: Ashwin Sekhar T K Reviewed-by: Jerin Jacob Acked-by: Hemant Agrawal --- diff --git a/drivers/net/thunderx/base/nicvf_plat.h b/drivers/net/thunderx/base/nicvf_plat.h index 36da12009b..3536d83747 100644 --- a/drivers/net/thunderx/base/nicvf_plat.h +++ b/drivers/net/thunderx/base/nicvf_plat.h @@ -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) ({ \