Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3639580imu; Sun, 11 Nov 2018 20:12:06 -0800 (PST) X-Google-Smtp-Source: AJdET5d9F1jV+jE+dW+jMJ6+fz0gUXMWtowFo6Ei2A2kMr/5k85QV7t0qNwGs7S8W9Z0xi9qLdND X-Received: by 2002:a63:1b48:: with SMTP id b8mr16226412pgm.187.1541995926369; Sun, 11 Nov 2018 20:12:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541995926; cv=none; d=google.com; s=arc-20160816; b=SsQCRRaepFJEPm843B25hcEHMULH/7pF6Ktn4Ba4KsDwKCxJiyNwNsreHw81tGpwQC T2dko0oNC6+zBFmvUl2SC4BPPvM8TsClsGse5PIpoSUh7Y0iK60L3yGSWkgkUoFH//Yr er8gI3Py8cvs4fyr6k/keWx7Rjvp4so4/uaoB4ev1BeQCv9aDdMErjqSiWEri/DhmYGP R/C1mN0z6Y0rFeLiM+BfajSxMrz7QpoS0mG/OAL6V3jLfe2On6YhqVRVI6f2NC9dWPS1 TR21EXWE0L7GYhYbC82FKKjjYaheiDn0+kFuN5vfJHjpC4iLrPyIDNaRmZtEwXzAwYMR BW7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=ftuYd77dxjW1o+kkM3mk15tl4baMVeCsWEMwA8MCLkE=; b=0cm+6EEpPdZvdY0kauaJBfFhEXGVV1NLbO9PzqddMZjfxe/rdcZdDeF7vW0bp9pcZk WhhXLL0SvBHCS3mfZk5tA0T0ZxHpG20dlsXqTdKdH0wNn7Av26hbpm4pcPgcwGAZ1ARv QokCOQLXS0EN6nTojpdH+cj5FThBMasHsFp0oVPMYg6S88N7mIJza4Kwwrazim/kmxd/ NecFM8X1b7IjWPfsSwYnqxnhcFihnumOWG8z4JtO/yTBHHFaTex8LnuUGNU7mrC9s4Gr YQ9oOF+xsrYYtaHAXXB7j62VdcToVHvTZN5sopE9B+PEAYhTaIMIbUs6kQuFOc1L6ddb UlmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nJByXlLz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3-v6si17305863pfb.247.2018.11.11.20.11.51; Sun, 11 Nov 2018 20:12:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nJByXlLz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730607AbeKLOBR (ORCPT + 99 others); Mon, 12 Nov 2018 09:01:17 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:37787 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726270AbeKLOBP (ORCPT ); Mon, 12 Nov 2018 09:01:15 -0500 Received: by mail-pl1-f195.google.com with SMTP id p6-v6so3657581pll.4 for ; Sun, 11 Nov 2018 20:09:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ftuYd77dxjW1o+kkM3mk15tl4baMVeCsWEMwA8MCLkE=; b=nJByXlLzLLFsN246P+rL3pwhkd1uuRNKjzSvFtFJIUWdPzSKk2ImhjJZN1lGJ+AS6T 3OZXSmoBIXx/Zrru+tCJAfUd8fF88CV6cbWSJHqBLx4AajgSgxkfaDD4xy1Jblhj2/fR FTJ0mWr+AV+mVsFLiWVcyGma60qchtd6Pi4Je4CJQ+RqzMaxJXrBy7l01an2fUidFBh5 lcwgSF+4PjrHrBD1I4ziODxK5yTP5gKcgTw7EqdFjXH7voEY62zdh09uBlqigqTsLw++ 00ca1wuWfrrUg+6QZVgFsV93hxTYK12Qr+T7TKYz4+AE+Ye4zATa7FeoCLD57SosbHBw MLbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ftuYd77dxjW1o+kkM3mk15tl4baMVeCsWEMwA8MCLkE=; b=E1zrnwYId+Aktzc8YEueusAddYe/tnEbT2V7uNDiPrl4lx6atpJ6bjJBc04kea3t1+ ZDBPk5TL010DOXo1c9ZhiS88BESV/IJrcpaevF2e3QwfrmDhxA8nu4Hlb4tNiVAvvzfM JsRMg0jZGJd54Ply6+J+EiooSmO3q4Hxn3xS+AdGAylbVp2yqyLLcyo2xccLeSu5cAlQ LK8VJSxGwZdvI5nQktih6XsB6/BJhyI2UKaKw0X1clpcyjYOZscELjvvWpEE2X4JGrDX Zdb+cjO3jTA931RKP9l9ndC9ZvGDxlFsESK0C+tBXMsnEK7JF+jlPVoYBgnGoBZQZYSA w4Bg== X-Gm-Message-State: AGRZ1gJM6Bqdlv1OhZI52uw/ye8Oq59OCBdLtKdtx4HaXqcQc7dDlIgC V5hUkHqHNtbGum3fFCFxVf4= X-Received: by 2002:a17:902:6801:: with SMTP id h1-v6mr18334087plk.177.1541995795799; Sun, 11 Nov 2018 20:09:55 -0800 (PST) Received: from app09.andestech.com (59-120-53-16.HINET-IP.hinet.net. [59.120.53.16]) by smtp.gmail.com with ESMTPSA id i189-v6sm27536599pfc.16.2018.11.11.20.09.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Nov 2018 20:09:55 -0800 (PST) From: Zong Li To: palmer@sifive.com, aou@eecs.berkeley.edu, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, zong@andestech.com Cc: Zong Li Subject: [PATCH 1/2] RISC-V: Request stat64 on RV32 Date: Mon, 12 Nov 2018 12:07:43 +0800 Message-Id: <41e8cb18d321244ab7000f7dc0467b6ebc5cab8f.1541995312.git.zongbox@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The stat64 family that is used on 32-bit architectures to replace newstat. Since commit 67314ec7b0250290cc85eaa7a2f88a8ddb9e8547 ("RISC-V: Request newstat syscalls"), the RV32 build fail with undeclared 'sys_fstatat64' Signed-off-by: Zong Li --- 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 eff7aa9..a4aade9 100644 --- a/arch/riscv/include/asm/unistd.h +++ b/arch/riscv/include/asm/unistd.h @@ -18,5 +18,6 @@ #define __ARCH_WANT_NEW_STAT #define __ARCH_WANT_SYS_CLONE +#define __ARCH_WANT_STAT64 #include #include -- 2.7.4