From patchwork Fri Sep 15 10:59:27 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 112715 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp470944qgf; Fri, 15 Sep 2017 03:58:25 -0700 (PDT) X-Received: by 10.84.143.129 with SMTP id 1mr2570952plz.304.1505473104961; Fri, 15 Sep 2017 03:58:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505473104; cv=none; d=google.com; s=arc-20160816; b=Rok8heU9f+1dV48i44kVhGBZ8KRL0rsscpYgAw4X+N6czZsVD+oR/e14CCUWIvM2Fe Do1aC9U/Kw4P9dGaFNetkILUvoubqW08jiuUJm5mOfPJXRfbBQkGfL6aXhAiVJcM0tlk +3v+hLtPZgpZXM4SpaB80/+71XQdupoy/zOpcsosErNE/TmxXOUY8V5SNLTTHqu0q6cQ 2QBI3PiVjkSLr9cfI93NbcjV4hHSSBQvpbNqNAKRqUKZ7g1jat3/5nxT2byHj5cFbHHK uWagJkJUtdFnsVsynC7nIsDyeosk9Q+ll1lDKlkPFeoJPg6tCoKtqm8bJBzBskewL7uq OYIA== 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=XQ2hfwuqOxZtO/79mPkNiInqsdauHyfcRiwhgMReb/c=; b=j/uzRw5GK+OwXxucySunF3MqlFk7NcS9AFcE/96cLp6Ta/qDaLuMi+m8BrL3028BYe rWwzjj/mGp3+vvSioAbnGru0mz8fAW3weffTgzSrmNtG6Rc10r0154kHO89TvrLFgrDI zgZJ1W5+C7+xl4JBsU2Ups88jppYqh07FUIJHQR5wx4lYZHkZmodcOGpnK5azxcW34t8 KH2JoQrXlwpRNGGwwJ126+K+WZB48Ewev2ih/6Hy5owT/OVBQwukVQISk3NeSVx3Y+za GA/M25PbsqEAS0YWB3zp7n5cyqUPMQIStL195WJAyUEqBgJSFLf0wDowD43L68hopjgQ 7I/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IkReyxmU; 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 z27si479373pgc.53.2017.09.15.03.58.24; Fri, 15 Sep 2017 03:58:24 -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=IkReyxmU; 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 S1751571AbdIOK6X (ORCPT + 26 others); Fri, 15 Sep 2017 06:58:23 -0400 Received: from mail-pf0-f173.google.com ([209.85.192.173]:55208 "EHLO mail-pf0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751537AbdIOK6U (ORCPT ); Fri, 15 Sep 2017 06:58:20 -0400 Received: by mail-pf0-f173.google.com with SMTP id d187so1251040pfg.11 for ; Fri, 15 Sep 2017 03:58:19 -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=IkReyxmUW+gLt1efsMpfMKv5A6h7dLgY+J5agJeAGAWyy7QIyVgjXxDyR9oGiEuQV+ lTltlZYU/rdwqQyY+yIARim8ji8uwFUyXTsggDWf9KiUHzD+0q9nN8RqrH/Im0SproxS oKRGASGinwdze2NAr2YbwcMopLdS9BnZCkc+I= 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=VFvjczFf6RVY3OBfF1m8RloRJOkxnkYunWIXGgmBRWvLoFjD5oB5HEf1ZE+bDxzPCW cRUv/q6qbP9nN4ybC/fPLWUvZFS4QQzeSvBkhWF1QUhQP53G1v0nkHgv1VKebcJJad5I XzUU1ZyK4GVzXBd3wCrZHkzoGZvce7rNz3L8Db01b/H/8wlR3w9a/00h2nOScWYt9eRK ESHeotb++Z1X7ZN9FW9bOsFav07e+K+pl529mfNhjU1jew/nHRvBGYXaOWR5OdhFzD0K zmuq5bFIMR+McQgZrlU7YXLI/8i73ehS7y44p64MUoE499UHiuQd5qWxyHc+tcoawvSM 8W0w== X-Gm-Message-State: AHPjjUhwv6FkOfz1j8z3NTHi9N5B6cmumXo7nSZDQTrHDG19WDO9+11p Y495j5BZrPfer9uv X-Google-Smtp-Source: ADKCNb6AOFIOXm2BOeqdR/mCjNeMe1QaiBKti13cPTuihCehFQyHobuqdWPKuR+ANeGvYkgTlg2CEg== X-Received: by 10.99.126.23 with SMTP id z23mr23727399pgc.156.1505473099512; Fri, 15 Sep 2017 03:58:19 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id t81sm2363221pfg.154.2017.09.15.03.58.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Sep 2017 03:58:17 -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 v3 05/10] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 15 Sep 2017 19:59:27 +0900 Message-Id: <20170915105932.25338-6-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170915105932.25338-1-takahiro.akashi@linaro.org> References: <20170915105932.25338-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 Acked-by: Arnd Bergmann --- include/uapi/asm-generic/unistd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.14.1 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,