From patchwork Mon Oct 2 06:14:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 114551 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp325748qgn; Sun, 1 Oct 2017 23:13:07 -0700 (PDT) X-Received: by 10.98.152.28 with SMTP id q28mr13535506pfd.80.1506924787668; Sun, 01 Oct 2017 23:13:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506924787; cv=none; d=google.com; s=arc-20160816; b=vHdM/1BT1ewaUF39Ax7vr4+uzB47HafanaVbXa049lCubwcLTBn2AZaIuy/qnt5HkW 8H3kjo3iQ331pGlTdf4KPAJNCZBhCxbCaZkrjMlvtUiI7duVHCamvb6FFIbsoBI64iqV I/FtZHSuckjKs0BEefoSeernkqdlZerp9F8eRNtcb79zVH+tfIgpEIisoziBvTjANd0o mwYrL8J7odgmjMXK0gIu/sMm0uPCsPQWyjyOfYZhjbAt1PVa7C5c725adVjqLGNDf5uw pOWYi/RbRL4I+FyFMlZYc4o1YldJHr+nfPh0Ex1NNEqZ8133ma8jwaLnAijwCOsRjB3f +s2w== 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:arc-authentication-results; bh=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=qEndlUPT7kietSIp+T+JTw/gKIOV54HkTzXAYPj6T2qP0Dc2VzO09Vmu/ykRInZPdu 0FzsQRkkmeN6CYyLfjq0kpbTOaAxmOE3+i/rLuNdaa+uAKtnAG65aJaCuG45dSQPd4yh REgHj+wd6eKR8uuzm4U+dziqdgWeyvJTbBPpnGZM2C6Quv6n0lLxFgH7aoFZem+sj30g F+9yIWkQm+GWFss2n8vvH5TZZJnFFQ5Q26ENHztlP0sTU2wG+J/3zIynFLx/jaKtPbUw Qgje1BHYtJEN15gYGSKEpByhSkQdZOLHD5FQib7lBAqNyGetZkOpuoav7VEsWKVUIuci ixcg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aXyhANtf; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3si7448122plb.751.2017.10.01.23.13.07; Sun, 01 Oct 2017 23:13:07 -0700 (PDT) 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=@linaro.org header.s=google header.b=aXyhANtf; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751357AbdJBGNE (ORCPT + 26 others); Mon, 2 Oct 2017 02:13:04 -0400 Received: from mail-pf0-f175.google.com ([209.85.192.175]:46815 "EHLO mail-pf0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751312AbdJBGM6 (ORCPT ); Mon, 2 Oct 2017 02:12:58 -0400 Received: by mail-pf0-f175.google.com with SMTP id r68so2441457pfj.3 for ; Sun, 01 Oct 2017 23:12:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=aXyhANtftldCGgrzXW7t9YPhe5A9leOSBCX1gtKnbHbO6CjCs0IyoWMSZL7y9xpYfI bYPM17RNEjq+EAb2SEqCF/JZ/mZ1WIuSvNeBTt1f2ZgTUM1PMLX2YxnBjPequExF+Gml UpXvUVGsr+eEVkCg9RUPXDuHu3iWHxwFxmWUA= 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=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=KBjNbC0wuAfp6RoxM0pY4GbWCGrkKSvH3pQB60uB2m+PQhqIf7DxUIL0ht5S+DTnKO dzhEc3mK28eHqheeEdepup//ipCi812DXw2vvqO5oeQoENnym08I9c6YPlTZOkyei5Ww QGxavfddJGXSLItvPRGpmT/K6simSVsAp6/j1AM6/bUg5hMp9eoE4rcBIdOwb9IuCNIn R1orV9q7SUwMyeh2/vXJFblRDKz0gEmcyA08yuGkkm/x2DmXfhnTmwGWgVfqwM/LgTCK iXm3rWPn2xmYhhcWQ76qJL5uVsNOPwrJQ9tEA17iaeOlWyH2gtDjefAic1fmjk5K2cJK W6Eg== X-Gm-Message-State: AHPjjUgwNNGe1mTbxjUs1bXSbbWtWkfWvscFM7PgtS+46qTuHbk5fDe0 4qF/9f6SmlgPZ1jqS3dF6ggGXA== X-Google-Smtp-Source: AOwi7QAllDtzz1zxG9j863Sph/Sp5as/umh9+gwfPiAP6H7HcIMtrE90Qa6m+n58KBLwZxr/lfIsKA== X-Received: by 10.98.192.136 with SMTP id g8mr13679954pfk.96.1506924777711; Sun, 01 Oct 2017 23:12:57 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id t17sm15604318pfl.61.2017.10.01.23.12.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Oct 2017 23:12:57 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, bauerman@linux.vnet.ibm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, akpm@linux-foundation.org, mpe@ellerman.id.au, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v4 05/10] asm-generic: add kexec_file_load system call to unistd.h Date: Mon, 2 Oct 2017 15:14:26 +0900 Message-Id: <20171002061431.11117-6-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171002061431.11117-1-takahiro.akashi@linaro.org> References: <20171002061431.11117-1-takahiro.akashi@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The initial user of this system call number is arm64. Signed-off-by: AKASHI Takahiro Acked-by: Arnd Bergmann --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.14.1 diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 061185a5eb51..086697fe3917 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -731,9 +731,11 @@ __SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) __SYSCALL(__NR_pkey_free, sys_pkey_free) #define __NR_statx 291 __SYSCALL(__NR_statx, sys_statx) +#define __NR_kexec_file_load 292 +__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #undef __NR_syscalls -#define __NR_syscalls 292 +#define __NR_syscalls 293 /* * All syscalls below here should go away really,