From patchwork Fri Sep 8 03:16:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 112001 Delivered-To: patch@linaro.org Received: by 10.140.94.239 with SMTP id g102csp939801qge; Thu, 7 Sep 2017 20:15:28 -0700 (PDT) X-Received: by 10.99.98.131 with SMTP id w125mr1630930pgb.214.1504840528207; Thu, 07 Sep 2017 20:15:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504840528; cv=none; d=google.com; s=arc-20160816; b=IsQNgj9jGKJ99GvbNvTbEkTAO+C+I5IqEE0nQA0i+ChDdhK/edHvmn+uKbGiwBR4cG Gkw5qROrcsElS06NzGF9dZeVisa4qQS3QyAzy2mifCSbjmj1b889LMY5NiISMP35iocS n1XHyrzGrniI+g85q1ugJ2MSsA2gjp7mg8mLiUWWHhw4O68BgorJ7dTTMdHgOjGdqd0C sp4hEDvmZSBL2oxAjPKEYJyDR/dGfhAHtM7esSIp8o6jp8FX3tdqi3SoRI6W4RgCdiAl KUyuaR3KopLTLoDEoL5fvDZIn/yL0O6DTPM4BeX+dXibEgeFieZ5ovippO4aGd4DS+AS Ib6w== 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=r1RkuLKiM1vvr/jCMic7BdKNl1ntPDZjvhuGtJRZXZSjy9BCYGDsJKGb0y67PYvIEl idjBfgRR1hNDBolKfhkY9uHXmgvw1viA4HgL1Jhg8eTBNJ205DSl0DCxGYo4hDCBeZgs NzCCEAR6NNAawMEBqZf7lIwIKZvYToZSEZ4Pi3aXOJPDnkqS1AcxTq6wQ/24/cuQhDg6 3vhjkAfgo1p5lpo3QcGid8EkYiebxvRn4gwZ48pC2s8sLIqdV8LajFcNlUHBsbZReGy4 FLnHOf1q/snbNiLoMl9RocE6C8YtQUW+NFRuc9EtvtN5lpE2ZUZwCT7GgVD8Q6lMJDir 5AIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g6jihWYQ; 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 n9si805110plk.34.2017.09.07.20.15.27; Thu, 07 Sep 2017 20:15:28 -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=g6jihWYQ; 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 S1754382AbdIHDPY (ORCPT + 26 others); Thu, 7 Sep 2017 23:15:24 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:33339 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753804AbdIHDPV (ORCPT ); Thu, 7 Sep 2017 23:15:21 -0400 Received: by mail-pf0-f180.google.com with SMTP id y29so1777552pff.0 for ; Thu, 07 Sep 2017 20:15:21 -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=g6jihWYQ7YB97et1lIHP24BQtQNDk+z35RLU50oc3l3ea0d3iJSofyZmO7en8NsG1S pW1kdJBOSXnb874oBbux7DqeUPAPxSZmxxK1E08IcRaqTvAaocbRi5PswLURjgf1FMed r5/PTpimzHeuXUzkgVq0ea5If1tlYij0G4Cso= 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=ewVbF0zZ3gd/wUO6kh/oi39I+49DKeOZit9YbgkQYAIBvmEnntGMfkXG5z376a8q+9 +G/1qM4exkWzVN1oDXa15t+t3h/n7/FnHYFSvr9lwh4ytmuVyOeh4dzE/8FgUdTubpft Whb4oSJcu0d0hTtjcepsBRXMSlgYHVYhMSKlzR4UZ7fBNHLt6MeJb6v0ZnOlU+zkQE3s h9dc5LzzrM3CUlSYrAMW1j3nVKGr5LKP8Ye3L3lOY2aEOP3QMRMxvJdIKLQDsNjkJRxv VeHYNo1Twb2Tf9hj+L7WTPfX1hL3DJyO0/PFBiZlpR3hzw+uU6MW+77i3lZvSjsAk8oZ baTA== X-Gm-Message-State: AHPjjUjo+3/sat5PmZstNH7MiXV2vrsA/cHjMhJugmvZbZRlg8keq5BN jTHiE5JiraQHrNXV X-Google-Smtp-Source: ADKCNb753r09A02Elz/xfE14oxcOUKuGEYNaTL4sHDnvOGRRUJJtnOyHt+DxxGjahHe18AgWbS4zBw== X-Received: by 10.84.179.67 with SMTP id a61mr1745609plc.230.1504840521132; Thu, 07 Sep 2017 20:15:21 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id b1sm976275pgn.55.2017.09.07.20.15.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Sep 2017 20:15:20 -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 4/9] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 8 Sep 2017 12:16:11 +0900 Message-Id: <20170908031616.17916-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170908031616.17916-1-takahiro.akashi@linaro.org> References: <20170908031616.17916-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,