From patchwork Thu Nov 15 05:52:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10683521 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2EDD114DB for ; Thu, 15 Nov 2018 05:52:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A6912C13A for ; Thu, 15 Nov 2018 05:52:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EC0F2C13D; Thu, 15 Nov 2018 05:52:44 +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=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW 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 B7B232C13A for ; Thu, 15 Nov 2018 05:52:43 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=DrArGUmNojiVoDPw4tk9lSKc8bu8LAXKWmFFL6QzHW0=; b=VjvVHz8rUHsXZp wJqI+L1Vz4MtPjLJx0LdTeQ43KeKJo4/Zn0HUSblKSIKLU+qyU7wU3sD9JGLcRh6vHKzckOQNH1Cg MnlKW+xZ7PVT+K3sOpbzYX42GLFOGdcpSvy+8ZcqMg/HnKMjxYlFimmMlL2gx/xK+uTkJgT0R8Qg3 0Gz48bJ4aZcGajprU4je20xQtZAefYXVxmpjcnp3qkkX+OEXAs537KZDSrDnevRNTj40pZ5Myd6Ak D2RJ8Ex9HPsTDyIzeFyQYcZ8oGKt3uX37vyPQsX5eyYoAuNkZs4x/O0MdUI3wXTVk0AzXNY6vvQeG WXDzk469WOaF9xdcLPaA==; 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 1gNAZz-0005de-Hc; Thu, 15 Nov 2018 05:52:39 +0000 Received: from mail-yw1-xc44.google.com ([2607:f8b0:4864:20::c44]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gNAZp-0005DF-Gp for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2018 05:52:31 +0000 Received: by mail-yw1-xc44.google.com with SMTP id r199so619399ywe.4 for ; Wed, 14 Nov 2018 21:52:19 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=fqOZgrmCseBCFVCglpCnlv6Vd3lKQ1VgNlnEF5YSifw=; b=L0Lh7adaB4/NBz1Jq7eWIVyflBdmNbUxt4AY6CAfqdA8EIpze6HPfem5PTfs/DdIuy nO0Ux+nFEZV3r0qw6u+AayYXEQULmZ5BENYIXIPtRcyWfd4fEEbwi6jvmcgp3HiFs4E4 lmSB8Ghz4NgyoOF6cFUUXgOdAf6u3836RA+ho= 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:mime-version:content-transfer-encoding; bh=fqOZgrmCseBCFVCglpCnlv6Vd3lKQ1VgNlnEF5YSifw=; b=KfmEO1u4ZWp/5FNLf+SdblrptgN8n3OW+rZQlkUctZxGv4RtsS4TbKBwJiBzHKL5dN Bmyr+XqV1S2by0zsGou7vG9ch7Ygmd/HZcUfQEofEIlLkx89CDg1AGu69bsBQQLztvF9 o05WNyA9md17C7htlvt/h4ueHXb7c4b1wLQLdk6MyKcyplRHlIui5cgMGyD1PlYnIXP6 Y/KAWW/4hNXOLxZLlqh3pq8VKYTbDkdixlocWr6Y3QhDp4lENcigYiYZqdoZc5hupY2t uZv5j1mVbR0fv0l+3OEKV/3ozkOlGKSOpjvzpPpwgx+TM6iwz6POfDRG4Ew7XOcMYlI1 BspQ== X-Gm-Message-State: AGRZ1gLQ4+LA8LI9wTv4HAmhQUmkkSnCheppRasUNN6KgblYEFQO0/Tq TEkQUs2xUJmoZTz0C6rAtogl9w== X-Google-Smtp-Source: AJdET5e9foIDNMtI7yzpRPUxITmnfPNMHjdhpM9Kr8oPLMei4wkjQB5LwSunNm/Dz29XT1XDaeZaYA== X-Received: by 2002:a81:ad57:: with SMTP id l23-v6mr4569256ywk.260.1542261138359; Wed, 14 Nov 2018 21:52:18 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 200-v6sm7892593ywq.97.2018.11.14.21.52.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 21:52:17 -0800 (PST) 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, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Subject: [PATCH v16 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Thu, 15 Nov 2018 14:52:40 +0900 Message-Id: <20181115055254.2812-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181115055254.2812-1-takahiro.akashi@linaro.org> References: <20181115055254.2812-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181114_215229_618454_5C7175D4 X-CRM114-Status: GOOD ( 10.64 ) 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, prudo@linux.ibm.com, AKASHI Takahiro , james.morse@arm.com, linux-arm-kernel@lists.infradead.org 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 538546edbfbd..3b7196295fa6 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/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