From patchwork Thu Aug 24 08:18:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 110887 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp5319236qge; Thu, 24 Aug 2017 01:23:02 -0700 (PDT) X-Received: by 10.98.23.74 with SMTP id 71mr5725130pfx.151.1503562982757; Thu, 24 Aug 2017 01:23:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503562982; cv=none; d=google.com; s=arc-20160816; b=eu4+CWK7j2OE3QzUVHCVoY3Mbx1d7UaOwe4M4qjwAcKHZ/r1QPlM2VkZPJSpHBaoKT r0yMgniWK0uLHDsffi1UjmpXwTIZ6gHRvk9N/ofDjyUNx4lwRNdY6BqucNAj/Zc+8rfP YMxiKu8LAPqMC/K7o086lY2jRpHcXwPXtvdLEMbHCXvzfUsJsepXZvfr1hWdoJTDgJSt h7oQevrFCKrtgPUGd8ExaER9tDCqjt1RMg2c/ENHCDAgOQCjjUnAXNjPCiwCUt1uKB1R ZEY0FAWmjFd2NLE85A5lzJDR3tzntsVsEWantEDWdQx8FhrKiGpdOzobdp8iisx4sVbS cqgA== 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=7DMnNxx5FymJLkO3/mxMplUl8irrbJPrVAuUpGGl77c=; b=N488URhx9xTFMMRr4qMWcQH2htZ1i1Q/f0UL0t601Itk8hV/XWybRhnZen0AncuaW8 Dpx7CJZDq4NRzwjWiikndLFD/CQJHjTVnTRwQ6B+AKdx4DJY0jLR3xfvQZ8/aSXG0REW 5rjVR8O+5OCPTji2vN14KlurNEY3DK0h5RXaOVrku5kzLqDGnsnhOmzCMxDm9pwoqEid sL24zugTKkZCEtkDtAIxsoh77GBTzhKWBzRqAAlD91bdStxAB97O3qDWY5tUEwOh0Q6q lSzhmPpaucGy8V/Z+XFgrFjKJ8AXV83mo5eXPnCHbp2YkB/N4FCv2LjWPBoz/iXHc3Sb Vm+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ned5YBPn; 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 k131si2447774pgc.233.2017.08.24.01.23.02; Thu, 24 Aug 2017 01:23:02 -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=Ned5YBPn; 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 S1751804AbdHXITJ (ORCPT + 26 others); Thu, 24 Aug 2017 04:19:09 -0400 Received: from mail-pg0-f44.google.com ([74.125.83.44]:37960 "EHLO mail-pg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751348AbdHXISk (ORCPT ); Thu, 24 Aug 2017 04:18:40 -0400 Received: by mail-pg0-f44.google.com with SMTP id m133so13377659pga.5 for ; Thu, 24 Aug 2017 01:18:40 -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=7DMnNxx5FymJLkO3/mxMplUl8irrbJPrVAuUpGGl77c=; b=Ned5YBPnt+KLGShWuOwLLSSwGh0Xr9toSPVZMcIr3NuYK9bQICZ042jTDYheMlrIW/ g7fVsPls2iSajwBU3bsudqaCSzOopFjmVIlgqp1emtp25ZihGnIB1su07l213dnzecsW qs3YbQwPZU5BzUKvzhpdHVuIGw0Foh2wo7LAg= 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=7DMnNxx5FymJLkO3/mxMplUl8irrbJPrVAuUpGGl77c=; b=LVgwyb/oAEt+3vrDpDZaZFOrTwzE8MypTVAc0tM1v/wwZoDHmo9sOmmoS4Xgu/2shy 1RnmnHAumV7xuYKNCH+YDsHf+mH50x5iKXoAR41itb9UQ9cNu+gsFgWRWm81v8CIFfW6 8bkfXvS8RZzXd9Wql6zPh4UQVZvoTjBiS/taRba+c5WGmzY/PG6n77TvExzuapvCP7WJ WB6ZQAHERBOY2j8e8bIGVXlw6Zhh4y2fILLML14EUao/WY6BFiGi+KXprtfP/GBPuePv 6C1cBC+BzLsECEgKeY1iUOZApvxVsCdc44CSirDk5vVyGbcfLKthVncYy1ziHGYoUHMH 1XrQ== X-Gm-Message-State: AHYfb5gHlk7S4I+LYrW4ES3auWpA4szndtkXwc2SsQGuAAVE9/G94Z9L cepJNsojSMAaH0He X-Received: by 10.84.231.204 with SMTP id g12mr6265443pln.131.1503562720157; Thu, 24 Aug 2017 01:18:40 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id v9sm7015493pgo.39.2017.08.24.01.18.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Aug 2017 01:18:39 -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 07/14] asm-generic: add kexec_file_load system call to unistd.h Date: Thu, 24 Aug 2017 17:18:04 +0900 Message-Id: <20170824081811.19299-8-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170824081811.19299-1-takahiro.akashi@linaro.org> References: <20170824081811.19299-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 Cc: Arnd Bergmann --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.14.1 Acked-by:Arnd Bergmann 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,