From patchwork Mon Dec 4 02:57:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 120485 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp3920873qgn; Sun, 3 Dec 2017 18:57:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMb5+A2PfiOSLGALJCE+PXjOF6oC54oj53WBXcmKmdmF6wQOd2W26k+UKLZ8n6nsiHFAIEla X-Received: by 10.99.134.73 with SMTP id x70mr12860052pgd.130.1512356229787; Sun, 03 Dec 2017 18:57:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512356229; cv=none; d=google.com; s=arc-20160816; b=hEHLR3HevL4nzc1s7I67H39y5wXZrJQNbtHaH7rXsJs7aqY1yCKlAPMkGP4s3zaaHN 4CzTSpq62vgElAXWTUMVtSDTEJvjS+tip8By+QKMhZTbOZ6bQh06ucNx20hi4aFml3zv FBIzGtDkqITs0V9YryZHQ5Jkhbi6btckCzcH5YE3jAbZp5Bk859YC61ByzrMIgz9D0v7 UWDX+F0pvgmQnPrYR3jL1keT8/rtX4+3qh9L2Dat6oEBoxKWM8gXtDTUFUre+0hKqEMz OrZwFpW3ReffRauJRPYqmFrpVbQEPGpFSqsh/w9GB3ZXLhTVLv5h/De+bYKHhZUdJqsg OV+A== 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=0ksGx4L+xN6AyzfgPucu9sDki/2xdJxO1EeZcxrOad4=; b=fdNsqgTJSaL5zKjv8GhIAemxAc3fvGhATGeFWdI+LeYc6aMonoJ0rqbfItWdKVMTbI A0OD7tfWYL8Je84skUJyog7jy44CUGsK5lZ3CXNaer2Wsdi1vJNjGsTOltV2xjl6H2Wi xVL2/hEebqhuGu5PUZi+m3OoFsE+O2x7fpsFO24jLOzn4T1+OkpX26ICCfMv/d8byf34 j/cXQNAQN9CeqITWpzp7iq8eiifQs+haowkXap4FgIM0FPDPDctVJIsg3+RNHUCwZhh/ o+RYrrn+dXoBZLl1RzqRtUHXR6wafygI/URSo9ZI3NfUW/NOBon56PWUtHOr1Kt5eS7F QVZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dR9nqaw0; 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 v18si8513804pgb.63.2017.12.03.18.57.09; Sun, 03 Dec 2017 18:57:09 -0800 (PST) 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=dR9nqaw0; 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 S1753330AbdLDC5H (ORCPT + 28 others); Sun, 3 Dec 2017 21:57:07 -0500 Received: from mail-pg0-f68.google.com ([74.125.83.68]:36991 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753173AbdLDCzC (ORCPT ); Sun, 3 Dec 2017 21:55:02 -0500 Received: by mail-pg0-f68.google.com with SMTP id y6so7213069pgp.4 for ; Sun, 03 Dec 2017 18:55:02 -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=0ksGx4L+xN6AyzfgPucu9sDki/2xdJxO1EeZcxrOad4=; b=dR9nqaw0qAy768XKa8hzF/CvXhQgCA9/ssqmJ8BGI4YpiEwlJvVW6IS+jNCfRzascK TI4K6Ej344+JplQEjV4K1FJKM31isojTX/cKd/E8YePf5nVwUzadN/Ayzp086HPm18J5 UESr7O7GbjTVdhZ9Ph9S/iaKpXyYGN065k4ko= 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=0ksGx4L+xN6AyzfgPucu9sDki/2xdJxO1EeZcxrOad4=; b=n9+sUUrddXfx7QofzAV/4xObMKJ2QuAIKjdA+B57s/+5lf4WFJJ6n66D42WKCnPo32 uJM8fu5uzsLdWrjNM5tw57Li8qYKwR14+M5cD/mZgnmA0jU+FVZWE6cB1JnB7zu/3HWJ 9NLylBqJxNN7trTaT6NQ+WSVjFmop2BZrKKyT8ueQ8YeXKv+tetlOh4xariEaBaFmk0K Swf0vdS1vdPSEH+6cRz8FLCXyc55l90uO47FPN9KET6IaGJ4QZQf3G/Ec/BerLFJhtzf 5NKYBbFWJM4oKv4jHA7Rh6KvzkeKNXKLRDtrjYLskNZ+qdO1GbOKqTqavv2ysUA3aqbq kYHw== X-Gm-Message-State: AJaThX4IZrhSccQ6Fmj/wQJNXGgE4ki+Ap2JWhcV4i06TPSuIA3G3tvD ffE25CvENh47M33TrYlc5RiSnw== X-Received: by 10.99.3.146 with SMTP id 140mr12672027pgd.275.1512356101714; Sun, 03 Dec 2017 18:55:01 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 67sm19399296pfz.171.2017.12.03.18.55.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Dec 2017 18:55:01 -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 Cc: kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v7 04/11] asm-generic: add kexec_file_load system call to unistd.h Date: Mon, 4 Dec 2017 11:57:54 +0900 Message-Id: <20171204025801.12161-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171204025801.12161-1-takahiro.akashi@linaro.org> References: <20171204025801.12161-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 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,