From patchwork Fri Sep 8 03:16:11 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 9943115 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 C152F604D4 for ; Fri, 8 Sep 2017 03:18:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B127B281F9 for ; Fri, 8 Sep 2017 03:18:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A431728329; Fri, 8 Sep 2017 03:18:06 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 2AF1428249 for ; Fri, 8 Sep 2017 03:18:06 +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=DgLX1utuM3Ac4OL+XtSqCx+XabilscHORaCooHStbDY=; b=k7AhdA57sgj0LD2qsZ8/6orY+9 ipzPkp1BqDjQZupzOMyqn7lNNm7CeUPAQJht98PCE0da3xa116dnmaZTk/zMXGYSfIeY7dk1UF/Z/ J/LXeDY8S7pHAOZT/rfJwobF+IPhejQQ6n9ZeuxmkqGTrWQX+RToea47G1obAmQhWBeBgH46sGmOA yfn1oWjOxT7838EYCS7abDRlo7tz1JYqEzil8WCst9jkbtSZC0oEQgQS4QCAYgUx+sqRhNdbmGQsD 1nDz9cBxomjN68oHjrl8JTnbegQqWDTj0ZcR+Fj+OmpC5EWmsWWF3k9vpw+drd1vMfUjS9DPS0Zuv 3N5KFoOQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dq9nf-00049a-DV; Fri, 08 Sep 2017 03:17:47 +0000 Received: from mail-pf0-x22a.google.com ([2607:f8b0:400e:c00::22a]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dq9le-0002RM-SL for linux-arm-kernel@lists.infradead.org; Fri, 08 Sep 2017 03:16:06 +0000 Received: by mail-pf0-x22a.google.com with SMTP id e199so2540723pfh.3 for ; Thu, 07 Sep 2017 20:15:21 -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=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=g6jihWYQ7YB97et1lIHP24BQtQNDk+z35RLU50oc3l3ea0d3iJSofyZmO7en8NsG1S pW1kdJBOSXnb874oBbux7DqeUPAPxSZmxxK1E08IcRaqTvAaocbRi5PswLURjgf1FMed r5/PTpimzHeuXUzkgVq0ea5If1tlYij0G4Cso= 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=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=RS6DeZa1wYzRmNNX8zEfv/ND5bFaHF6sbZt4czpNK6zOU9Ivx9NZZGarMTQwQkR/hG UsAq4Ta/MVzcFzCReQYygx2xW9kmG0iinDaNW0J0KEQmf9h0TumKRa3Mtc+vDS1pVqBx ORFPcz69Gcskk8NGNYhh3wdlsFniZb41XN9FD+P2ltLUmatkKOyyAoiEhk2zFwuccC6o dmhUumsyBrkCDaPtih0NreOULHpVK8+6/0vFmPwkYYDzVja8xStukrjCGHIwRThJc27+ AddHhauyQ5G6vqAtXxmulKpqqPPaH9NHC4HaOl2ftxYW0HsDEO2ErGumXL6ZL3Q0jIYa RVFQ== X-Gm-Message-State: AHPjjUgiAZYxVY1jGGytkZRFQyJcOslGlfSlurqdvKcAQOaSi8pgB5d2 Q1Iz4iysSCyh0gPv X-Google-Smtp-Source: ADKCNb753r09A02Elz/xfE14oxcOUKuGEYNaTL4sHDnvOGRRUJJtnOyHt+DxxGjahHe18AgWbS4zBw== X-Received: by 10.84.179.67 with SMTP id a61mr1745609plc.230.1504840521132; Thu, 07 Sep 2017 20:15:21 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id b1sm976275pgn.55.2017.09.07.20.15.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Sep 2017 20:15:20 -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 Subject: [PATCH 4/9] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 8 Sep 2017 12:16:11 +0900 Message-Id: <20170908031616.17916-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170908031616.17916-1-takahiro.akashi@linaro.org> References: <20170908031616.17916-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170907_201543_504738_015FF0CB X-CRM114-Status: UNSURE ( 8.98 ) X-CRM114-Notice: Please train this message. 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: AKASHI Takahiro , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, 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 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,