From patchwork Tue Jul 24 06:57:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 142687 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp6917853ljj; Mon, 23 Jul 2018 23:57:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfFn5niE4E1t64cudU19zZE75QUbW4MRne/EO3WyeRcyW1VhB5b742VNwQa8ALdorr+inmI X-Received: by 2002:a63:1d5e:: with SMTP id d30-v6mr15589856pgm.12.1532415434542; Mon, 23 Jul 2018 23:57:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532415434; cv=none; d=google.com; s=arc-20160816; b=PZ4cSRzjnGGsPm74NbVwTWUWaANU0ENV+E+cUzLLtmWfeLrvtCxiatUHdebX5DE8oC d/RQSEPWAu7QevLznAQTGBJ69sR0V3J3mxeGA/mRXgv9u4yRn28KyYJZaqt4OF1/Cjaq sdBlHz97/VoP6iwPByM6mYNzJq6XrEPgiXWdxKVIYXCDffmup+EAexck5GBK4Afibd6A C+tZLM49X5dvGWyG8T3Oop6PZhG1E+gjEZYwMfnrAcR88XpBrx2KEpZ2z6/tDR2hM0lO +N+AkZtG/2TtH3akBvVl2cayfSdPNz5gd+LAJZ0+vyLI2b8egIYLq/qifG4nBCDX7RCT m5mQ== 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=BD5KBPTKxdMtpqygaHhbkvkazGjFD66/w/IEI5sq6YQ=; b=cNnlZgqslCA6aRSbdttGDA5doATmorZ43R/ZA39OftEmki6iw1QSLGBM/06b05xDa3 pFK2PANXtPIDOOks9ZmhQ0DaGyjzDEtfKmOJk8pr8XXao76hSu8oCLu42TnjouJvneBk HBbVW5Qe12GXc6npG8ongReHLKx09wizTHu//5LKn21l1fAFfH+uqv4yhwN+rnAQgIpi kGREoK2gq6lbXlCwnH13/11C48JeTZsz+gElwsPqyiV64nNmXQR3NgpjXqGC6e6Tk/Ae xp2XVs4oLULH9MDd7Q2yBBG5amQkN+TgBAbDeMyruokYTgHwZOEhP3kbe/VrfsDD63uI /NEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KSWf7dB6; 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 b9-v6si10073125pfi.99.2018.07.23.23.57.14; Mon, 23 Jul 2018 23:57:14 -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=KSWf7dB6; 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 S2388414AbeGXICI (ORCPT + 31 others); Tue, 24 Jul 2018 04:02:08 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:33841 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388245AbeGXICI (ORCPT ); Tue, 24 Jul 2018 04:02:08 -0400 Received: by mail-pg1-f195.google.com with SMTP id y5-v6so2195584pgv.1 for ; Mon, 23 Jul 2018 23:57:11 -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=BD5KBPTKxdMtpqygaHhbkvkazGjFD66/w/IEI5sq6YQ=; b=KSWf7dB62jD+2CI25qIfV0icHgEzVjhvX+daLfcydF/eeJeFARBKhZvS4pStqBy5zN IxWJ523bWypZMHdzMjDVeh65AD+AYBkRgUZ5NComIcmAXDFWKN+eFozGjPTSK3iG07Zk RBv+0SzD0fMx7hwfVqwmR26FtLw3uiAxqCkSY= 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=BD5KBPTKxdMtpqygaHhbkvkazGjFD66/w/IEI5sq6YQ=; b=PVp1/lmSa5Cpg34TI4Tgil6qK83cKps5dU+tMS3737afxlKP5+/cOzoLX+OA5mHAJK vMR6ConYDZl8rJ3rh7ztIGbCG2SX7x6qTGiyFzUacXgLTl5HoabuaVd5NkbFE9xup76U tF1XFJVMKfjZOpKOmVQ0Dyey+uKQOhi2K3YuCe3OzQdLwJrnWgH8YKhQsVuYWPjV1lny +LWG86RUYzPChVZYc3jllLlaYH4RgsDDBpELqHBxpMWsd4XWDTTNrQyRnj+tOa/wqOoV 9/j5jkg+foSwd1nb9dYOW3GIXa2oI4s5UJS1kA2EaXoUh4+bkLSbj+Pij570k+/tpN/c 44vg== X-Gm-Message-State: AOUpUlGorDeegoIIUDZZkWMORz6TyL6EgdVJshm8lpAOF3Kwaq93dieO IhAVxSkCz8mfQ2FKK/ZauPp5ug== X-Received: by 2002:a63:62c4:: with SMTP id w187-v6mr15035901pgb.55.1532415430908; Mon, 23 Jul 2018 23:57:10 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id w81-v6sm21247538pfk.92.2018.07.23.23.57.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Jul 2018 23:57:10 -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: 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 v12 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Tue, 24 Jul 2018 15:57:44 +0900 Message-Id: <20180724065759.19186-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180724065759.19186-1-takahiro.akashi@linaro.org> References: <20180724065759.19186-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 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