From patchwork Fri Sep 7 07:56:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10591829 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 5B712112B for ; Fri, 7 Sep 2018 08:03:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4D9282AD5A for ; Fri, 7 Sep 2018 08:03:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 415CD2AD5E; Fri, 7 Sep 2018 08:03:29 +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 DF8A02AD5A for ; Fri, 7 Sep 2018 08:03:28 +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=mu2W7qPpCIlOZTxuyT1oEmo8SCMNFykgYRZ68hFnXHA=; b=ukFKe5JsFouzoE64TPoZM89kZS 1hwUy7l+nugkZJjKcJ0GRI2AAGjoMbUN4iHB5vKMtfJdjsCzPSsg1IeUzNHlraI6ypVXKOq8HLA73 eP2aFG0HAtoFrJueWZ43u1xlN9f99P5kEyY6LA4CX1wSolkS7HX0X+XU35Q+xHvUxLh+37JqVmBCq otyGxMdNMQu4GgfjcRymmyBvp11nYpQ8OLyMAcU0SLy2K5odBkLXFZciMRs1uVFuUlT1Cef6/6j/u 0tVQ9FibUDOwHoSyZQUQf1LDWpiF0tPZONyvMTyVyzYx4V02PEA9F+fqWpf/zHYtU+TdjSRflH2b9 q39YqdHw==; 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 1fyBjf-0003KL-Uu; Fri, 07 Sep 2018 08:03:23 +0000 Received: from mail-pf1-f196.google.com ([209.85.210.196]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fyBgq-0000pq-JW for linux-arm-kernel@lists.infradead.org; Fri, 07 Sep 2018 08:00:32 +0000 Received: by mail-pf1-f196.google.com with SMTP id h79-v6so6617207pfk.8 for ; Fri, 07 Sep 2018 00:58:18 -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=5amHDmg026JB1zJ+Ct9rVxm5mNHAXQC5qrpdWEXy5zI=; b=Vrs7iPZaJs2lX7U8ETOMXsv5z2KiZmr2IZAgRk2mnxfHL1v2nrLT18bqKI8Eg8Uv5l 0Ik6D/GqZpiGZipS29hvfmytB2YBkFmVbfrny6kOaANMXudo3ez/gpzvTsJIuqqu9aJ4 PFJS+uH491XkCYfqNC5s1RlwuoiCpGd6aAf8A= 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=5amHDmg026JB1zJ+Ct9rVxm5mNHAXQC5qrpdWEXy5zI=; b=DZSrA7yyYeVzX+ZCkw6q5b3dAoPWvXR4BnsmEWIGFKjAIwb+UlMGGkxWg7yM6FzE5a qarAubbEe/bryKSMMNayrTCENY6GB1vKpO0NuKr+Q7n/fq6FjkXxeidXcmKVNLuLkaFg YX6D79JFAKGWWJGd4Q/otGCn5ZovlWGPZWPoYs6ju0RyoUudOnimDcRrsWgje71+pZI6 yQa2zJpXAyW3ll4/48O4kzh5lo5fOweYBIakXaVmlapfjqb6WcN9+RQOmG77XBWQCmLT nnfZVQ/Sg4SDBCm/UNH7LlY0uHguhjpSUQGBBtZXcYQ3Uj4UIBM62+vu2SsOwMx3wK2z Oh6Q== X-Gm-Message-State: APzg51DupxhvZ7fFKRxRWHbwWmjn0fTwNmLHHu0dpfT2diCGlQUZzCTt o7A9L9Vtl94KrKqtEdtHziYjWQ== X-Google-Smtp-Source: ANB0VdbCgm41LDZoU8tOguOWLvaYE1LKIBw9q9WLBZ3VcVy65hAu/fzYGTFkbGjE8BVPneGB2L53PA== X-Received: by 2002:a62:1605:: with SMTP id 5-v6mr7168821pfw.11.1536307037247; Fri, 07 Sep 2018 00:57:17 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id x9-v6sm12684384pfd.31.2018.09.07.00.57.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Sep 2018 00:57:16 -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 v14 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 7 Sep 2018 16:56:38 +0900 Message-Id: <20180907075653.4696-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180907075653.4696-1-takahiro.akashi@linaro.org> References: <20180907075653.4696-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180907_010028_656707_BECF8B5E X-CRM114-Status: GOOD ( 10.73 ) 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 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 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