From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753663AbdK3Bz6 (ORCPT ); Wed, 29 Nov 2017 20:55:58 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:42015 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753629AbdK3Bz4 (ORCPT ); Wed, 29 Nov 2017 20:55:56 -0500 X-Google-Smtp-Source: AGs4zMauRWuK7Djh8VDdoMGTNUfIwMs33qYEh6CFr0ZDwRmvKTzuqKVfB4RZ7K02rHX6yg73y8EyWw== From: Olof Johansson To: Palmer Dabbelt Cc: Albert Ou , patches@groups.riscv.org, linux-kernel@vger.kernel.org, Olof Johansson Subject: [PATCH 08/10] RISC-V: Set __ARCH_WANT_RENAMEAT to pick up generic version Date: Wed, 29 Nov 2017 17:55:19 -0800 Message-Id: <20171130015521.1289-9-olof@lixom.net> X-Mailer: git-send-email 2.8.6 In-Reply-To: <20171130015521.1289-1-olof@lixom.net> References: <20171130015521.1289-1-olof@lixom.net> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 -- 2.8.6