Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp550867imm; Wed, 1 Aug 2018 01:00:51 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfo2SPGeMCCvN2UcDe1klvQ1bEOf4afyUXYHxllFTAncluLVWEHw6hvqo7+jRfKCEnVLroK X-Received: by 2002:a62:5613:: with SMTP id k19-v6mr25736482pfb.212.1533110451478; Wed, 01 Aug 2018 01:00:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533110451; cv=none; d=google.com; s=arc-20160816; b=CP/zBMhT40M95aFN/9SNLMnBZAl4QbTyJcLZZBAdhcWvftU/D5jsmPS4j6ri8F89W1 KCj/NZmgvfNQwkKDilaPZtt2qcC+Uam5aozJv8Sp0nyIIFQfarFVppDhDQSYJbaVVHRg e6JihdoYiwFOPeeuMb6rkl0/EmsdIHsmUqJ2RN4zAnBQBMzZ0qiJDwL7U/PyDq+yS8MI j5qYLtJk3cLSpYfyza2l2Tgg2uj/LBaxnAfc23XSulS9VL8j3yU5CwNhzS4Gn0P8Cqex bOT7L+pK0Je1nwxTlcB7NuMbRsBlqM2DuLj2yDzxfvQDQyzqQTp6foqH1DBOPCyeA44P OfIg== 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 s22-v6si14224673plr.498.2018.08.01.01.00.37; Wed, 01 Aug 2018 01:00:51 -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 S2387774AbeHAJn5 (ORCPT + 99 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(-) 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 -- 2.18.0