From patchwork Tue Oct 10 06:36:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 115353 Delivered-To: patch@linaro.org Received: by 10.140.22.163 with SMTP id 32csp3401474qgn; Mon, 9 Oct 2017 23:35:24 -0700 (PDT) X-Received: by 10.101.93.136 with SMTP id f8mr11342499pgt.60.1507617324331; Mon, 09 Oct 2017 23:35:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1507617324; cv=none; d=google.com; s=arc-20160816; b=D0PDkaObGYg+qpS95ZDjPGO6GPckCPCtOIa9wj4PqudIET07BDnn8+VocWZ6ecRJxF Vc6L2dQ7hK4BUO2mZHzxHwNYl9qTC1dDHs7cqI7PUGTgdVK89GOKGefod/7j0Ms3jtk0 YeT52bYH8YVMh1Vrwzam2i2FKq+aA3UJhjQ1ToicUuzGaDOKsrVFRAWCiqQTc4sNiYkq q5qZHdWx//KrE5rKnYfadNhL2/ZXpT82SxGKfBGVV01v9KUhh5WpXNwiB6ljIk1Ty71U TzzC+G63wGf9Onb0ZMT+YI9ai/V72gLiEn66uvli5cUcuLj7hUScJ+yLY+jFrweA7tmV BNUg== 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=I38mNm1Xjqg7B44Ymmg7In/qAsgH716HelZJNiE74GSHFIcZTjhQcfk8WgSA0/2OFf oYM5Gc5oVLDbvrcivwUrQP32iMyGA5kl32djVzH9T4tr+N936z63UIPywfuVMArOyRBj tx5VTKQ82Zf59Qp1/Cnc4XXLpVvkFrek3hpS83/wOUJxyDbxk7811k7JDkW7OCLEPMe4 2oAUa9zxEQPW4NKh6lGlbelxbWWjYYD0zMsQVYd01NInholzInpjlK0PiIngMYlVpwwt OczqfKIvYH49jTyFNxAidWviYxVI2U+t4rZzpmyhJHKk5MXJjZ2j+suZ2szVrmHUw3/O dE8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=a4WDpHaI; 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 f24si8659468pfk.415.2017.10.09.23.35.24; Mon, 09 Oct 2017 23:35: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=a4WDpHaI; 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 S1755466AbdJJGfV (ORCPT + 26 others); Tue, 10 Oct 2017 02:35:21 -0400 Received: from mail-pf0-f174.google.com ([209.85.192.174]:56244 "EHLO mail-pf0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755388AbdJJGfR (ORCPT ); Tue, 10 Oct 2017 02:35:17 -0400 Received: by mail-pf0-f174.google.com with SMTP id 17so7901109pfn.12 for ; Mon, 09 Oct 2017 23:35:17 -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=a4WDpHaIHzL+++LwY8wnvqVIeD2K8zDqgq2b1xvoEaFRU1IhELc4fv0kyjNY2wh20v TUqCs8wSjE3btQ/Gdhp8+ZxTGZQHW//UKZcNypZMYYn4ET+QJSYPfEWaZayl+iD3mGMk lt0xmN6d79qucF8qPqlPiSU+yGJJw6emc/Q74= 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=AC4E1ywUeorhvzS1xbiG6uH8OT0oggyfWNvKrlXyZ/WtZnJ8cf1UzFqpzVumOF44br b6IptjO/5wMrZ//hUb4w5AjROv4F9D1G757QvD18zzTCqY6+JcdND4zJ8IwirojorX6s 0dZEjefq7pULYNfgStNHgE52aoJyLUvAn2PTupZKtPS+kG3UkaTh24OJtqSK4iMa5MWu PBXv0idIoPs8hFFCalvopUKmENxM3kkKW8azYkEYcKd3eUZT8mComCFgwnhsnCFGhQMM +aLTFYVxvDhvO6wyTusDsp8Ett4c5TClbtlnquCDbyVrvnSNRsTX9IIt++Yy5YZgItm8 Zz1g== X-Gm-Message-State: AMCzsaXfK2l6DmdW2uNLswivkTFrMvNMZROOjBRa30i6cvmfUMknN4oY P4aLx1xpgfjrIHP9nsYBuG4DPQ== X-Google-Smtp-Source: AOwi7QDARjHbMKsjTCPpCwOtN7BP0bJNHAew1EGZxU4hxPZjGqwfxzAM1zXkH08Cg/UHXt0lb28Arg== X-Received: by 10.98.35.18 with SMTP id j18mr6590017pfj.37.1507617317334; Mon, 09 Oct 2017 23:35:17 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id t9sm1414172pgr.3.2017.10.09.23.35.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Oct 2017 23:35:16 -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, julien.thierry@arm.com Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v5 05/10] asm-generic: add kexec_file_load system call to unistd.h Date: Tue, 10 Oct 2017 15:36:14 +0900 Message-Id: <20171010063619.6303-6-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171010063619.6303-1-takahiro.akashi@linaro.org> References: <20171010063619.6303-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,