Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp73076imu; Tue, 8 Jan 2019 14:57:21 -0800 (PST) X-Google-Smtp-Source: ALg8bN4ZGJOTXoqu+xnsFlVlE0RQAl3ieKRBD/sEYtiiKuIeMeLpgfNpOWz/RNnFb7pxp2+vVGlu X-Received: by 2002:a63:a112:: with SMTP id b18mr3239604pgf.440.1546988241254; Tue, 08 Jan 2019 14:57:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546988241; cv=none; d=google.com; s=arc-20160816; b=w7bSrpKphrrREV+zRFICKV/nxTcxtkvI6E6ct5eQSDgOG0JjlmG4polkuvQL7S+H8J WtHDJdWEzZmObIiDNpGsLsyMH3AF0E/6uYDQ7qeAs2gV251CkMYMksTx8OP5DHEOd3Pl 2gpoubKdvb4qmhumRI1G5TQZ643wdT4n9CPoyQsroqlJYvyMtBAo+h2c+CIYcxAkETya FNQHB0KX2Rykzp3F+AQ/z785JJRDondq9XFUYm0BZkLI3fgXsl0DxTW80emyTLVBu+hs Pdc1k7W6mzVMm4DPys7Wle0cV2xmaXXKaS4lUwQGYB6IeCeIH+6cCY6yxLF7SYvuBnwh ssHA== 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 :message-id:date:subject:cc:to:from; bh=VM6hRcJkGPh4YrUJm0E4KaKdLei9WT+ure5t9wTqwrs=; b=myKK1MX/znJzKGxUgRZ/7pwEly0iuA0SkStuhg+Vv1O3cLbFOFCes8AQL+B3QgcJ5o DsSo3DNDmPK9KcySHefZaOrLvJdocfQ2XcUQkqx01BVU+2rUemL2ELIadQwjqDPkmar/ tExgH+TQG/LYzCZUUzcxlWK7rQzDxP39xFJC15v/Pxmasyxvr3lf6RXriqMYWkDww5gT SBod8gpj9UCYu6n1ifJUwEPOkSZqVhDmAWUx2aQrD41jqm0PXW9pc2FodA8IRldNF8kp /9G35JGv2xlEYcGx8fnzL8jMSjqVznfdILrYVCtuGGiy4JvbDdfeAeZjjz4jB7IIW+/V j3CQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b124si33476420pfg.47.2019.01.08.14.57.05; Tue, 08 Jan 2019 14:57:21 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729523AbfAHWSJ (ORCPT + 99 others); Tue, 8 Jan 2019 17:18:09 -0500 Received: from mail-qt1-f194.google.com ([209.85.160.194]:40901 "EHLO mail-qt1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728015AbfAHWSJ (ORCPT ); Tue, 8 Jan 2019 17:18:09 -0500 Received: by mail-qt1-f194.google.com with SMTP id k12so6253690qtf.7 for ; Tue, 08 Jan 2019 14:18:09 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=VM6hRcJkGPh4YrUJm0E4KaKdLei9WT+ure5t9wTqwrs=; b=uM0CGJeH6/iYi0aXq+dvXjyLl32I5pBgswZdabijVoymSx9vVIYw4VTCwjgRcwzKco 9kx+vY2XWqdgiliuWLtaq0pta46ybRGub4T1BwbI3FLKvUuNxytGllqYlUVhwys+wab4 oI8m6nZNQ3DoBkwsXqlH8ExgTeXcPNSF7hX61pRGGkcPsrTSuYbz/HMgc75ankWu3lst pp3J8PqVsav60Hx+GkOs2yd7tqIaVS21MCxLpemhJOtIkHsTmWgStfj63V6r15vS8HwN KADB/BDi3fbGLTBcvDsCsxPLtd+FrEzoGq9Ge1CTitKMezdK3pcasiAEe7r8LSCRyEOs 2gsQ== X-Gm-Message-State: AJcUukcNbQzj1+8TjQ1qBJ8rWDTWX6D8fom9NE1m+hGDVgCZTpPtdgLO V9O4bKjq0MsSzm1O/vfPKNAYcA== X-Received: by 2002:a0c:c17b:: with SMTP id i56mr3480075qvh.28.1546985888644; Tue, 08 Jan 2019 14:18:08 -0800 (PST) Received: from labbott-redhat.redhat.com ([2601:602:9800:dae6::814b]) by smtp.gmail.com with ESMTPSA id h35sm36891273qth.59.2019.01.08.14.18.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 14:18:07 -0800 (PST) From: Laura Abbott To: Ingo Molnar , Arnaldo Carvalho de Melo Cc: Laura Abbott , Peter Zijlstra , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, Arnd Bergmann Subject: [PATCH] tools uapi asm: Update asm-generic/unistd.h Date: Tue, 8 Jan 2019 14:17:58 -0800 Message-Id: <20190108221758.14546-1-labbott@redhat.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 4e21565b7fd4 ("asm-generic: add kexec_file_load system call to unistd.h") added the system call to the generic header but not to the perf copy resulting a compile failure on aarch64 When running mksyscalltbl BUILDSTDERR: : In function 'main': BUILDSTDERR: :273:44: error: '__NR_kexec_file_load' undeclared (first use in this function) BUILDSTDERR: :273:44: note: each undeclared identifier is reported only once for each function it appears in Fix this by syncing up. Fixes: 4e21565b7fd4 ("asm-generic: add kexec_file_load system call to unistd.h") Signed-off-by: Laura Abbott --- Found this on Fedora when compiling 5.0-rc1, I hadn't seen a patch queued yet. --- tools/include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h index c7f3321fbe43..d90127298f12 100644 --- a/tools/include/uapi/asm-generic/unistd.h +++ b/tools/include/uapi/asm-generic/unistd.h @@ -738,9 +738,11 @@ __SYSCALL(__NR_statx, sys_statx) __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents) #define __NR_rseq 293 __SYSCALL(__NR_rseq, sys_rseq) +#define __NR_kexec_file_load 294 +__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #undef __NR_syscalls -#define __NR_syscalls 294 +#define __NR_syscalls 295 /* * 32 bit systems traditionally used different -- 2.20.1