From patchwork Fri Sep 28 06:48:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10619039 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 4403314BD for ; Fri, 28 Sep 2018 06:49:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 339E12AE79 for ; Fri, 28 Sep 2018 06:49:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 245A12AEA5; Fri, 28 Sep 2018 06:49:51 +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,RCVD_IN_DNSWL_NONE 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 60B972AE79 for ; Fri, 28 Sep 2018 06:49:47 +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=puD4HUq9mcayCoa11e1LHXJQNsx/P00ZqWJaoqMb/9A=; b=LeFe08lxBpfjK0 H95J/KTWMcxcklHNUMt7nXQ5+J7NgzefIuLjEBrcbtTEDYStHsrqFpeK4sown3RNoW6quvCPpgjVw nuu7k3bllD0dWNx3CzGMUTHuMm1Xbya3XJ0wxLpsifzybjJxZaCQHUmgBg700z+1Z15ZWxSJCMfN0 XGdexGME2/dlxFlxk5mOlARj3OqRxkasLz1KIon+jpRo6hm5PEwtnsU2BTMxLW5Z3Fwa2A03VcOav 6gw95f9tfbJ3plhsWE4Ucoflh8AmrSAup/eCYYbxOIg6WLWlYxOsld4l3aOehmeNeaZSuXcy5QPwF I3WKYiqTAl/pMsM1FN+Q==; 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 1g5man-0004tg-AL; Fri, 28 Sep 2018 06:49:37 +0000 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g5mZc-0004er-I2 for linux-arm-kernel@lists.infradead.org; Fri, 28 Sep 2018 06:48:26 +0000 Received: by mail-pf1-x442.google.com with SMTP id m77-v6so3620868pfi.8 for ; Thu, 27 Sep 2018 23:47:59 -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 :mime-version:content-transfer-encoding; bh=p7VTwSew5JIQjBLJLLspuwEGyotzVxuUjhT6Cc4QWEY=; b=bFPgt1tplsXabUlQ6hCzj2urb7BtDmJeuUmQva+Qncik1zkUYv5VHI6lhF9oOye8/v Y+S8c0we9UP5r2SRWTJPjX3n6RRhyhpPNrtbFUtyk0LpbSHuAhLhWx3E0PCMQvFW8dky /BDwKAUo+vJkN8g49u451SCfEhAxV+z5uq9VI= 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=p7VTwSew5JIQjBLJLLspuwEGyotzVxuUjhT6Cc4QWEY=; b=VCchFcmyWcI6l8AQMFt3z0eLiCOFpSkjq6GVJAWiRxJQJpO/p0ltMAbIhf7fsTVCwU 0ezMPTwzqNggHJQZZJCYDiQofOyZeUIHXuf7p/0Wsb6RObgAj3irQk+4FbXVKoi1ICv5 VhI3DI7CezfqGEbIuUI6gjUCADDurvIHyTeC8+0rVldqY6C5Hx9JZWhXf6niq3PySKw4 JW5gX5IG4Fp1iEdFg9GMMBGXzZ3eLcWIC2CnOs+pFoEjhXc8d57GGkr8vFfSxFDICcA/ aQGrh0oVPYlw5uheSHKm0ir72MJQoo8TcCn56bOmNyx5vcA8h0Wg7sT/vgQ1S/kAv10O OMVQ== X-Gm-Message-State: ABuFfogG0O78lpSXzmQ3Z2uNsfDPzTNRcqMXoxY0e8QkNyRJDLGMi1eg eCfglFpYCCV0KhmGVN4ICH0MfA== X-Google-Smtp-Source: ACcGV60VsEfy4rHhSlzP39UhpLCxpTClvNHcMNcg8Na087wbleYoeOwk+QV8NKrRCfjQRYnCHYZgfw== X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr15022082pfa.133.1538117279596; Thu, 27 Sep 2018 23:47:59 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id f6-v6sm5312638pgf.52.2018.09.27.23.47.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 23:47:58 -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, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Subject: [PATCH v15 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 28 Sep 2018 15:48:26 +0900 Message-Id: <20180928064841.14117-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928064841.14117-1-takahiro.akashi@linaro.org> References: <20180928064841.14117-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-20180927_234824_674226_62D5ABDC X-CRM114-Status: GOOD ( 11.03 ) 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 df4bedb9b01c..acea91e49523 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -736,9 +736,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