[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171130015521.1289-9-olof@lixom.net>
Date: Wed, 29 Nov 2017 17:55:19 -0800
From: Olof Johansson <olof@...om.net>
To: Palmer Dabbelt <palmer@...ive.com>
Cc: Albert Ou <albert@...ive.com>, patches@...ups.riscv.org,
linux-kernel@...r.kernel.org, Olof Johansson <olof@...om.net>
Subject: [PATCH 08/10] RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version
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@...om.net>
---
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
Powered by blists - more mailing lists