[PATCH 08/10] RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version
From: Olof Johansson
Date: Wed Nov 29 2017 - 20:56:16 EST
In file included from ../lib/audit.c:8:0:
../include/asm-generic/audit_dir_write.h:30:1: error: '__NR_renameat' undeclared here (not in a function); did you mean '__NR_renameat2'?
Signed-off-by: Olof Johansson <olof@xxxxxxxxx>
---
arch/riscv/include/asm/unistd.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/riscv/include/asm/unistd.h b/arch/riscv/include/asm/unistd.h
index 9f250ed..b9a22795 100644
--- a/arch/riscv/include/asm/unistd.h
+++ b/arch/riscv/include/asm/unistd.h
@@ -13,4 +13,5 @@
#define __ARCH_HAVE_MMU
#define __ARCH_WANT_SYS_CLONE
+#define __ARCH_WANT_RENAMEAT
#include <uapi/asm/unistd.h>
--
2.8.6