From patchwork Thu Feb 22 11:17:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10235227 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 791D160224 for ; Thu, 22 Feb 2018 11:23:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 79F2A28B3E for ; Thu, 22 Feb 2018 11:23:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6E5AC28B9F; Thu, 22 Feb 2018 11:23:35 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 E9C7928B3E for ; Thu, 22 Feb 2018 11:23:34 +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=cbnSPzxeYabkELXXAdJkr+2+O/I1JXy46QYfXxedaaA=; b=UamGSGewmm1PHEoxwJOViuEHhX /QlGZZEhTQ4ZkMchSCXh+md5kYK/cuYGc/o688/t0Tn+5rRfkFFajPugPVw1LcadHoKqTvddADoKx a9ermJMlP3APxCrDw59MYR0xZ67dgnG30pQFx/xN/x2mxwMP3iNz/i16FQPPD9ggjMREnepKhwi5x NwJFmTAcb7l4JvpdYLVgyZplCQCEsN/EMTJIJluH/wBdBJAtrpuNmkpPqEwzd7ZL+tEh0b5zWAjDg vzitS6l9+CqjWEw1JTnOdYkLYaEhErouZv6N9BI/8hVVRFSNH1a5/SQsRgcGV6z0S6j00Ki+x/DBr D84cFlog==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eooyC-0005oy-98; Thu, 22 Feb 2018 11:23:24 +0000 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eoouV-0002fy-8T for linux-arm-kernel@lists.infradead.org; Thu, 22 Feb 2018 11:20:09 +0000 Received: by mail-pl0-x243.google.com with SMTP id d4so2708457pll.5 for ; Thu, 22 Feb 2018 03:19:25 -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; bh=ODOcCvpdSx6peztqFXdleOHiebtdBOEIkJi6v/RgTc4=; b=JYxstcQ4r6JfERDlC5r91Gq23kZ5b/MYc/pg3xYNsjcdM0S5r2s/O27+4E06nR5uEe NgJp115KanxHv90vtriCqAVHR3qFFIxZGMk/uPvE3wUSuHeMq/QcJVn35t7qgUwawT9c zL1ay/I+KXB5i0X7JTzQQvVZJ775ib4Eww98M= 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=ODOcCvpdSx6peztqFXdleOHiebtdBOEIkJi6v/RgTc4=; b=RU6MDxKQJkVD7Ik/3JEUbSHoiwmvqq0AJwh0LbE0X/8pQQY7On0ZTRZmzg4NkBObeh t7t7rMDvHcNxYoRlFhBJUG6cDj45MxCf8FPDJwopo8YIzCpA7EtCBhxtUDIOnrycxI+9 8KFTPx7jvyaAnEWL5OsRBuvh56PfchaOzm8hfNoKTF4t0Gn3DtDBWEayQeSD32dV3omL 7l/417nEapDoSnh383KKS0k3NOjxPDO9sAamkIHs/VZ+1BPSTwYeku22ZLJmgUtYg7fk 0R0Zv0O+O0EfDXbLa8XXtlmcesPpJd+jN1Rsuol8+zPgat4L31BUQ27g72fdl2PYjnhj MIbw== X-Gm-Message-State: APf1xPD9aomTvHbahZora3wziqLYPA4q6wAr28Sg/mqP/1Ts1KvBUoEX BLDSrLR0n3UAZZBqq9PbSRC9yQ== X-Google-Smtp-Source: AH8x225EMSbFfoVyi0TiwWczIt8rCQqOkn78Yqk/pbGlM+O+x22eB05ZZ4+vVJk2JXCxA00bAQ5t0Q== X-Received: by 2002:a17:902:a5c5:: with SMTP id t5-v6mr6429879plq.160.1519298364619; Thu, 22 Feb 2018 03:19:24 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 7sm34319010pfk.72.2018.02.22.03.19.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 03:19:23 -0800 (PST) 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, julien.thierry@arm.com Subject: [PATCH v8 06/13] asm-generic: add kexec_file_load system call to unistd.h Date: Thu, 22 Feb 2018 20:17:25 +0900 Message-Id: <20180222111732.23051-7-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180222111732.23051-1-takahiro.akashi@linaro.org> References: <20180222111732.23051-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180222_031935_434785_B28CD2DB X-CRM114-Status: UNSURE ( 9.96 ) 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 8b87de067bc7..33761525ed2f 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -732,9 +732,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,