From patchwork Wed Aug 1 07:58:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 143247 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp548543ljj; Wed, 1 Aug 2018 00:59:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcwHn/N8OkzcXdA718WBX2ZyQAvsAGRC/OHFwXMVBqR2NP9L/ozhPJ4Z8ts07+9xffjRPCc X-Received: by 2002:a63:844:: with SMTP id 65-v6mr24146795pgi.406.1533110374282; Wed, 01 Aug 2018 00:59:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533110374; cv=none; d=google.com; s=arc-20160816; b=kBGbI0JNg+FXxl6FVPMW0Ze4XRjMNpJTh5ZA0YU5gZ1rnC5vWC7+URyDwC+kzVo/sG ETo+PRA0NgWkG10F1547DYWn8Wi4rdrY33cSf5T9Z/N/+sSCTq5Y2iCD1OX5dI089TY6 DnzDvlJOfYsXH+RmYwMR4tQuAdFCDZ7xcB42mo9VjyFD7URkUHfZUKsyzjz8x7RC8bFw oo+9pq2vLDG628zYwel/4xSf27A1DUY7ykgih+oboHatk4Ug9RUOCPCHB7IPr09pw32k gqgORFFZeuOtVz9FtfXl11C0e+AZ1XhwmcsSVth81bf58ua0ymAPVWZg4oUIeB3U5UYy Gw7w== 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=5amHDmg026JB1zJ+Ct9rVxm5mNHAXQC5qrpdWEXy5zI=; b=yZcwlu+5P9xpCE/52qCzSt/LFt6IXmcu33O85YsCtfv4Ozcevw6nDTiDrLsjgZW8KD 17+FcJCea+dy2bHjy27/8XarjLLQHyFLy+GNl+k7MptUqLnA/8kJOkg53GjqlakcDfcl QBTvwRBij5yBlQ2Vi0hmN2AtxnCvvlGUU/Q7UtgAjorf56s+iGMYIOXZ758TNgIg9lPJ iu6jbgt+DKWhOl+tIbYj6N2j77bqqrkA/Y5PnryMfkqXgRaBjdwI1ytYe4DQo9/tu9dQ gBbDO3jgRxjdMbnMJOp5PfnAk9XkXUhqUa8jMnWVayfnOzKkuL0EJl7/8SI4DGlYSrkp EVZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CJMXHZuF; 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 b184-v6si17276099pfg.94.2018.08.01.00.59.34; Wed, 01 Aug 2018 00:59:34 -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=CJMXHZuF; 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 S2387781AbeHAJn5 (ORCPT + 31 others); Wed, 1 Aug 2018 05:43:57 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41098 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387605AbeHAJn5 (ORCPT ); Wed, 1 Aug 2018 05:43:57 -0400 Received: by mail-pl0-f67.google.com with SMTP id w8-v6so8409926ply.8 for ; Wed, 01 Aug 2018 00:59:31 -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=5amHDmg026JB1zJ+Ct9rVxm5mNHAXQC5qrpdWEXy5zI=; b=CJMXHZuF272lx6p1FY4vncZVgCLe5vB5pCCZOhKzIKR+dFmQ2r/BxKJRfYB5oeQUzz VfrsvDDunR3HDwVvUEILpaMpzgfFeDVqwu77PXdIdQY4qWW3tbsFqyEKw3rpPSiUKb9N Tkh+9w1KLuhKxTJCChfXdSjEJ38fv0SFB19+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=5amHDmg026JB1zJ+Ct9rVxm5mNHAXQC5qrpdWEXy5zI=; b=ivtDGLPqS5zVTl8zW1P2CuSYLQ/S0FnWrMak6/x8S3N7dXqwbwtP4Psnz1AtWpvXKU /wySeG5rDwxRHLP+cmEAEz0uNcSScxdSeB2aR3OP9JOMez+ZGDu+jfSlWpb0LgY9VCFM GAcH39/JPxnfuO2ewY4uCXZhRTAwu6pXj7a3nKeMmraR8uSkGTWHNvfwJek0n9IS+jga S2rq2XYLNmKCGlA7JoyiwwgVbf/BYW19LnkoA4bagcoWNucbWbuRcvjLyBldFRyINVQ9 hmI8JRop2F2SFlkSVtSxnsuMPgbYytevSsjwm7JrS3NRuBKShRxFJtqYj+JrUhABmj8j gcUQ== X-Gm-Message-State: AOUpUlFM31tO6DEoDCmPpLLdpB5eCdMCuA6P3Db4IqHCvTkDjCUa6sqV nXUEgVDzusqTcN6wSwvu6VSnVQ== X-Received: by 2002:a17:902:b785:: with SMTP id e5-v6mr23561403pls.339.1533110371491; Wed, 01 Aug 2018 00:59:31 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id r81-v6sm28580218pfa.18.2018.08.01.00.59.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Aug 2018 00:59:30 -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, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Cc: prudo@linux.ibm.com, 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 v13 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Wed, 1 Aug 2018 16:58:05 +0900 Message-Id: <20180801075820.3753-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180801075820.3753-1-takahiro.akashi@linaro.org> References: <20180801075820.3753-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.18.0 diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index df4bedb9b01c..acea91e49523 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -736,9 +736,11 @@ __SYSCALL(__NR_statx, sys_statx) __SC_COMP(__NR_io_pgetevents, sys_io_pgetevents, compat_sys_io_pgetevents) #define __NR_rseq 293 __SYSCALL(__NR_rseq, sys_rseq) +#define __NR_kexec_file_load 294 +__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #undef __NR_syscalls -#define __NR_syscalls 294 +#define __NR_syscalls 295 /* * 32 bit systems traditionally used different