[v1,23/24] memif: add system call number for LoongArch
Checks
Commit Message
This patch adds system call number of memfd_create for LoongArch
architecture.
Signed-off-by: Min Zhou <zhoumin@loongson.cn>
---
drivers/net/memif/rte_eth_memif.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -174,7 +174,7 @@ const char *memif_version(void);
#define __NR_memfd_create 1073742143
#elif defined __arm__
#define __NR_memfd_create 385
-#elif defined __aarch64__
+#elif defined __aarch64__ || defined __loongarch__
#define __NR_memfd_create 279
#elif defined __powerpc__
#define __NR_memfd_create 360