From patchwork Sat Jun 23 02:20:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 139731 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1547462lji; Fri, 22 Jun 2018 19:20:49 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJpPJGQ01Lz7YHyMwMdzF4UE8g9HH/Jf6zNI6vs9oU/Nw/SUyR7tSEkzLtHsy4YX0M1DqYE X-Received: by 2002:a17:902:b418:: with SMTP id x24-v6mr3910467plr.2.1529720448937; Fri, 22 Jun 2018 19:20:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529720448; cv=none; d=google.com; s=arc-20160816; b=zlN1Qe0VYPMiLI87IiFhgU5f30PRz4GakLvIs9pr0PdYkruOCjnCM+cb6/obMpWckP Zg/kCXO0oyoAWwBk9ugbW1s7ULVmvYMWG4h30mlEQE0dDzyV862cwD8zogTNuT99KkWZ fAKJGYKS2lyPH6IYiUnJ6GAh+AxdPknI87pw6m/ZP1Pt/wUUx34tng7/HpYlkzrBPEJQ 8dfFCoXrNG0YOawbuoNSjCPtdd5VOnvd2V4cmxkVM7V9Rklgj5S+J/otF4heTeHI28s7 6dvdcJmt3HZC7mkmoEQMBIQsj6equaGw3AkaMURHcNdk3NNFyGhsPRD52ZI9cPK1s6Ef DRXg== 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=jdv7JCAGldq0YAFu/ACWfRReGIBSUaIhom0oFCx/M8A=; b=BrhfBY0tLnphTX6nABY6QzLPnWrbMapb9I3UBc2Pg9BA1Dl6f+ZZ3Rk0ryzZIO0clB ++87ohGm7pakn9hxw2oteTQ+bFuUQLGYIQ8ZoXUOjvt9oC3QKdi2nDPH3VIFJnAxlIwe 4bxy4hy42eU9rQrcaXCzz0yAoMOjPOsfjE6hjSPXkdHfA7qVT1IU39TsP/GPefp3R/wy Y4zHn5a1aMuP+QA1mRgIwBcXBKyHe0hYLrzQLcKmjuU8KIrhpfslLfswUhvrxwuZ4O6i guDoDdUG+hr5l2OKifajLvcynh61mmajCRm2p+66xQXB2ytzAyeFqrhi/jzt0VDSg27Z squg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WoEKVO0c; 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 s5-v6si7001465pgp.246.2018.06.22.19.20.47; Fri, 22 Jun 2018 19:20:48 -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=WoEKVO0c; 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 S934691AbeFWCUk (ORCPT + 31 others); Fri, 22 Jun 2018 22:20:40 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:44497 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934528AbeFWCUi (ORCPT ); Fri, 22 Jun 2018 22:20:38 -0400 Received: by mail-pg0-f68.google.com with SMTP id b10-v6so31970pgq.11 for ; Fri, 22 Jun 2018 19:20:38 -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=jdv7JCAGldq0YAFu/ACWfRReGIBSUaIhom0oFCx/M8A=; b=WoEKVO0csIZ3KZJOqeQJk3nFpCLfca2WyshHC6YmCikgKWYbFS5IlldO8but1IJaq/ PxxZSc6nHtru9lJvBYhYTMRp/84d3/hdrAuukdn5Dpartg06Zd31QhUGD6iNPwXnJH3A vzG+uguTdmR0u73JU6pxGWZSArm0ecLYOsOZ4= 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=jdv7JCAGldq0YAFu/ACWfRReGIBSUaIhom0oFCx/M8A=; b=KvRZOHAxbMm5YfiWx0b28ryaEhcD+sWG5yD/Pc4yUqoXRh6YzFSpRlTfyB1pmyMQbq aSJeF8SX1077At2nPWS2TZfSnhdZsHH8+MFcY6My5rFa+JrIUDhGe1OMIB5Gl5N3P0LZ RMtR8lBQGBzGtMlS8T+MsiUUySVD+uNFe9sSr6sb2LvVuLdnpMNQrKd87e8/+SP3T8dA v25b69Hi+YRqndW/SvZV9kJqa3jEzk6isc5/ah0leFdD5bd70l9FZK1W+OeZqJCuqQ4K Yya11H8NvyEkK2uDGUBZ6xoExUCV4RQEu1ydSTa+xdvh2Jl32v/OFIe1sRzop1d/Avxz Jdkw== X-Gm-Message-State: APt69E1Y9tL2W7jr7F/EF8DDVboQgNWHInKBmWCcrB4V/azKtglzWA3D XPS9D9Cetm950WIt5QyEzzbKGQ== X-Received: by 2002:a62:e70e:: with SMTP id s14-v6mr4090799pfh.131.1529720437986; Fri, 22 Jun 2018 19:20:37 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id l1-v6sm556418pgn.55.2018.06.22.19.20.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 19:20:37 -0700 (PDT) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de Cc: ard.biesheuvel@linaro.org, james.morse@arm.com, bhsharma@redhat.com, kexec@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro Subject: [PATCH v10 01/14] asm-generic: add kexec_file_load system call to unistd.h Date: Sat, 23 Jun 2018 11:20:45 +0900 Message-Id: <20180623022058.10935-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180623022058.10935-1-takahiro.akashi@linaro.org> References: <20180623022058.10935-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.17.0 diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 42990676a55e..c81f4a0df51f 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -734,9 +734,11 @@ __SYSCALL(__NR_pkey_free, sys_pkey_free) __SYSCALL(__NR_statx, sys_statx) #define __NR_io_pgetevents 292 __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents) +#define __NR_kexec_file_load 293 +__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #undef __NR_syscalls -#define __NR_syscalls 293 +#define __NR_syscalls 294 /* * 32 bit systems traditionally used different