Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3633579imu; Mon, 28 Jan 2019 08:10:20 -0800 (PST) X-Google-Smtp-Source: ALg8bN4naGcLDRsWN3PYw/MMM06FW3bNpwqui2NELMjlAqDKExk5eyTBcaxoknhwPeGhTh/8hwmK X-Received: by 2002:a62:f247:: with SMTP id y7mr22495030pfl.25.1548691820675; Mon, 28 Jan 2019 08:10:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548691820; cv=none; d=google.com; s=arc-20160816; b=toTS4WXC2iFTarALBxAtcbY5b8a3l8a6MhDklP10BvL1NgUC5VUOcPY7zZ1ChfhPV3 MRZKTGdO1ACMc9WOgvSHgxz1RAUde/9pULasbkBt+ZoMPuYE552TuvGQBA9SbDopc8vC lRRQZfxvAZPjSsj7rahdb54/eO38Wuf2o3Bmt43PzoqQR1ZUMMs5SiRtIMOXmBZmeBl8 /iRSLN+ASwbLZZF4yQhl/xflyGrmRWq5ME0rXuKtrI+v7U2mVue+kemivX345TXN8piF Y3VqYAtiWn9vlxx+JjfH8n8zanxWoUfdKCBHwRJXlbqQRT8X9kNbKJHSeEhmAfhjQaZn MKTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=YmuyjVwElm8VkG1XWa+HwPAKYrrcOPQbK+cbm8H1Td8=; b=CbI7v33Y3X0MoisynT/LYIme/mW0zbAfw5KWxdlx41HsoQ/1Uc9j6if/pagQevAKpF 5xFYKFDbENN1EAVhVH98Jg7frjZyq7ZZhcIM9awym3V2G/e4hJ3XEjvHhk6CPcMYwTyH DJP9iDMaSvTrhCcBX6/OgoR8grVrwHwqoDqECAxhXdtST4wiqOgWgThPbI9piC38JCqH qasySp2qOlm9cTBdyvJzcBg+YawE9QcLAwboR6i0f1+1D1vR3mof/Ud3MNqXLYPjwEf5 fDETKOvPrgEzr1CYgTvT+u4YqEF6jqr40UB0rPLAg297wt2Hw4e9/xPNiHzjjg0rBpqb g0kQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=Fwk3S8+L; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a10si20535128plp.167.2019.01.28.08.10.05; Mon, 28 Jan 2019 08:10:20 -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=@kernel.org header.s=default header.b=Fwk3S8+L; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732289AbfA1QH4 (ORCPT + 99 others); Mon, 28 Jan 2019 11:07:56 -0500 Received: from mail.kernel.org ([198.145.29.99]:59116 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732274AbfA1QHz (ORCPT ); Mon, 28 Jan 2019 11:07:55 -0500 Received: from sasha-vm.mshome.net (c-73-47-72-35.hsd1.nh.comcast.net [73.47.72.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8EFB920989; Mon, 28 Jan 2019 16:07:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1548691674; bh=xOOexK0JwCHXU7nVo0ZbJJvTa6GB7rzc4Q7yatnD4nQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Fwk3S8+LGhRm6cDuy9iJXVHpTDlT0QtqvONzDVh5KWwYtm6IErEhrhnPK66xzVJ85 bpgdQYLWLu6fG5GId83H+8MKENgngkJ92freHahkc5SmkUESEK4iH6zxHspVhtqyu6 cpohPZn82BBdbpQY3g/SMcJ2Kqf+3UsdQck74Jzk= From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Arnaldo Carvalho de Melo , Adrian Hunter , Arnd Bergmann , Guo Ren , Jiri Olsa , Namhyung Kim , Sasha Levin Subject: [PATCH AUTOSEL 4.19 181/258] tools uapi asm: Update asm-generic/unistd.h copy Date: Mon, 28 Jan 2019 10:58:07 -0500 Message-Id: <20190128155924.51521-181-sashal@kernel.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190128155924.51521-1-sashal@kernel.org> References: <20190128155924.51521-1-sashal@kernel.org> MIME-Version: 1.0 X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo [ Upstream commit 89a0948984896352cac1ebe079cb3d64d6c3adc6 ] To get the change in: b7d624ab4312 ("asm-generic: unistd.h: fixup broken macro include.") That doesn't imply in any changes in the tools. This silences the following perf build warning: Warning: Kernel ABI header at 'tools/include/uapi/asm-generic/unistd.h' differs from latest version at 'include/uapi/asm-generic/unistd.h' diff -u tools/include/uapi/asm-generic/unistd.h include/uapi/asm-generic/unistd.h Cc: Adrian Hunter Cc: Arnd Bergmann Cc: Guo Ren Cc: Jiri Olsa Cc: Namhyung Kim Link: https://lkml.kernel.org/n/tip-2e7xwm5i2qcc88jp2lyawdyd@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin --- tools/include/uapi/asm-generic/unistd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h index df4bedb9b01c..1e4e48355eda 100644 --- a/tools/include/uapi/asm-generic/unistd.h +++ b/tools/include/uapi/asm-generic/unistd.h @@ -758,8 +758,10 @@ __SYSCALL(__NR_rseq, sys_rseq) #define __NR_ftruncate __NR3264_ftruncate #define __NR_lseek __NR3264_lseek #define __NR_sendfile __NR3264_sendfile +#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) #define __NR_newfstatat __NR3264_fstatat #define __NR_fstat __NR3264_fstat +#endif #define __NR_mmap __NR3264_mmap #define __NR_fadvise64 __NR3264_fadvise64 #ifdef __NR3264_stat @@ -774,8 +776,10 @@ __SYSCALL(__NR_rseq, sys_rseq) #define __NR_ftruncate64 __NR3264_ftruncate #define __NR_llseek __NR3264_lseek #define __NR_sendfile64 __NR3264_sendfile +#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) #define __NR_fstatat64 __NR3264_fstatat #define __NR_fstat64 __NR3264_fstat +#endif #define __NR_mmap2 __NR3264_mmap #define __NR_fadvise64_64 __NR3264_fadvise64 #ifdef __NR3264_stat -- 2.19.1