From patchwork Wed Apr 25 06:26:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10361725 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 67C47601BE for ; Wed, 25 Apr 2018 06:28:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 57C0828DE8 for ; Wed, 25 Apr 2018 06:28:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4C65128ECE; Wed, 25 Apr 2018 06:28:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C363728DE8 for ; Wed, 25 Apr 2018 06:28:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=60PTH6lSGlJHxyXP0sxrbatXKBksAp2EkxK5HiNmilI=; b=PbJZXMsv1Ln2etu2xLZwmg7cyR +krEbXE+cGvqXFN1XPcAQC+8eqpgZ4+V5ywUbEza6nSNKQNZJWLJDGDGQWs6ZlOCPUr+PZWl4FxP0 tBWFGA9f89yZhEcqXOCeuS05ya49RtDmCYEAaeBWxRPwCsa/JTKNjXA7r82EDtgiqHO7+YipKrn78 tKO5SsN2bPeKa41zmmA6wirxzveyXs9tXev7IpeQC8ccMEbUZIgiGYk0k9ykCTKZ2AyrQ8VWeGXGt u2Utcolho5Ic8K0lndA10xH3AvnCUjvZe7mqe0cq9Fn9K0OMnzOJsY10PhVtNpIerSn4ye71jlDNH wCYzhGlA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBDuP-0006tm-FE; Wed, 25 Apr 2018 06:28:05 +0000 Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fBDtO-0006HB-Mi for linux-arm-kernel@lists.infradead.org; Wed, 25 Apr 2018 06:27:04 +0000 Received: by mail-pf0-x241.google.com with SMTP id j11so14306451pff.10 for ; Tue, 24 Apr 2018 23:26:52 -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=tzU/jdZ0/5w0haUgvxPouRVkRHqKTPwAph/VuQGQ4f8=; b=MzoRD2ny2c4oB+J+5dd56RI8qHyZdI0rELparsEkSPWY3ClAdfdkthkGPqYyMzSNBd qNW96aS54Am4mR6TsDq55kEoSBe5TRqVDKt2bSo1BYyIy8J5vKqj1avO4uojOzypZuGz NL5NC7Wz3K1yAEycyLWZbpXsiNd7xRpNSDcNY= 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=tzU/jdZ0/5w0haUgvxPouRVkRHqKTPwAph/VuQGQ4f8=; b=Qisv+R3BC35A+tXd2PCgRZsSQEMnMicp2ikIaVMpgEbPavnyaiTJqOKoV3JF2TCj5A gNk1AG2k6Tc0r2QYZm6REnkOXmKCs5kqxby0FrS/rExQok1KPCQ+ruhheoZCQ+YCR41A i/kUdfsmXu2Sw+uXGZpIYfqT/V7/+jXF+DaoCyiRfpttkY7Qz6zrksE0PQV8xq2XhX0E nM0pKyXNwjuZs9dMtY7rmcoO7HJFu6OyUvjgslH/0TpRvZaBkvDM8bUBbVUzG96nZKlg meYt4VL+h388NB7J0vtfxDUUoSgMb4bKU0GlU2CW1aIQN04VcPC5gdP51S0etUlsG/7M MWbw== X-Gm-Message-State: ALQs6tBKgKg6nZivMcXaM49amRKTHeOr+4eQdw3NDEgJdNmuOBoQp3JZ +FEK5ia0x5mr/JAEH7mv0DWBIg== X-Google-Smtp-Source: AIpwx4+WPH61OpjbW9JmyAn8bMxd5PtBYH7MnluzpmK8u+vdsi5HsjEMzfunALHmbaV8z6yy1HyCgw== X-Received: by 10.99.184.10 with SMTP id p10mr16586542pge.250.1524637611971; Tue, 24 Apr 2018 23:26:51 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id m65sm40336646pfg.135.2018.04.24.23.26.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 23:26:51 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de Subject: [PATCH v9 01/11] asm-generic: add kexec_file_load system call to unistd.h Date: Wed, 25 Apr 2018 15:26:19 +0900 Message-Id: <20180425062629.29404-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180425062629.29404-1-takahiro.akashi@linaro.org> References: <20180425062629.29404-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180424_232702_822316_C8AA8C6C X-CRM114-Status: GOOD ( 11.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ard.biesheuvel@linaro.org, bhsharma@redhat.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro , james.morse@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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(-) diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 8bcb186c6f67..745bad1d8269 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -732,9 +732,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 /* * 32 bit systems traditionally used different