Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp6642908imm; Mon, 23 Jul 2018 23:58:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcgpPrWSZcBGNQuwEXUG85QYxp5i5WGOV0kuaDqWBjGurpDD/LAIuHFpD3TU132+rzv9MyG X-Received: by 2002:a17:902:342:: with SMTP id 60-v6mr434253pld.121.1532415512493; Mon, 23 Jul 2018 23:58:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532415512; cv=none; d=google.com; s=arc-20160816; b=JmtwrE+5GRCsQu7Gt9EoFhVT1VOxwVp/Gz67rSWIudUm0UvQ8GhpgMH9CSxzrQpWfD 3lu0l5W7bl6gNqBRK0uHtbV9vlr8mAB2ThzZOSWblclcAPUEFKIqh/WOUi4NkEY0Sz6V ykNWWoZow8fU5a6E1POsDdAHAHE2KWvoWHGmV9kMtyVcpxeoDy4rKh7DBWtHQ26s3FK1 CmF8+TAbmqIABf0Hb0wKdyANAgCQmWfL1qA/fuGKZ1Bu9v9hVIVpS+NHIunREOG5RWXX K7RZW298X/NqDcyQekerHwyGa0af768F3b5UVIWQwLtqN0xp32Np3y1oa9rAgvyXJb4a CGwA== 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 b22-v6si9644307pls.259.2018.07.23.23.58.17; Mon, 23 Jul 2018 23:58:32 -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 S2388410AbeGXICI (ORCPT + 99 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(-) 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 -- 2.18.0