From patchwork Wed Jul 11 07:41:49 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10519009 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 78CD86028E for ; Wed, 11 Jul 2018 07:42:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 68DAC28829 for ; Wed, 11 Jul 2018 07:42:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5CD7E28B8F; Wed, 11 Jul 2018 07:42:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0A6FF28829 for ; Wed, 11 Jul 2018 07:41:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=g57KRNB9EZ9OBpMCqwXqMDG1EYFwvH6RVhnS3Q7rVd0=; b=I85KFmPwcnhXX+2FyagQMgD+SB aX3Lqh72QJFpOkY8Pm7YxpZWUZxgUUdeKBw1HrPXpTbN/3UxZQ6mE/DDqwWCFsVXQCie+V/EtiRlL MQ+1rzeAD6AFqjLerxUWdTWluctUx2YZopVdGZTeTByyTx/NO++i7GWSxvUTgwDsSZuRxxJxJv/GE o1jdPVSFobUzh8u38tiNt8Y1360m4AtxCM8m5tmGd0wYYSepdlMb5w/7cL3Re2lD93q8VjjiQBHM7 XL18AOrf7wscQXkQIXGhMJLNs80Er62WPNPomw/5zaTOX1q3u+iB3FmLZbBgss9jgiwwDh3ljHwTD grWXXRug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fd9l4-0004Ec-OP; Wed, 11 Jul 2018 07:41:54 +0000 Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fd9kh-0003s4-Jn for linux-arm-kernel@lists.infradead.org; Wed, 11 Jul 2018 07:41:34 +0000 Received: by mail-pf0-x244.google.com with SMTP id q7-v6so16765689pff.2 for ; Wed, 11 Jul 2018 00:41:21 -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=Dm5oxzfS/VL+fy39Xpvjev3g4m24EgwtLdK2HE8U1ISXZ4k+MOZO3CAprlZTLbwZiH GVJ3ghPMkxTO2RrXqNLJQ8n7e/CIU8mH+X+bRwbpgnhZk1lRlRS8fQn+Z5hUp3tXXBUT fR9D8VZKtc23trnO6nlTXLwsO4iXFO+zlek3Y= 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=enIWbPkK2be+j4tJX6O7hX8inhDnbM/a71J+gHTbXzabtV8XteqhRpbV1bhHGjtCC0 0I+pQrHQH8JMo9W8APeGd/C8B0aRCAgZg2v/CLL2rfSEkyZGvyKk+VRD8p9wlIIS5Us5 BTFBMb8xi+dLuUoAXlMZlRSYRLPeuTo3wkcZ/evr9Js7ab2MIqzPhq5SMZTAoPEFLZ0W ect3zCGaBdLFFqc5YU03rVEC1BhT4aG4eMmF6dxCB8glx35KChuA4DkOUN1G3O5DF94K B1sWG8Wj1+g6f7HrIUGgafSBMLSs8luBH23pcIPvk9xM0ltU3ncXLNo8BfHMmUMi4BRK UZig== X-Gm-Message-State: APt69E2bGsQ6C/8CpnNiJ+DeyK8ycLY8bPpKkCvk5YsEXJiR6nIcWr40 CN9U87wxwbiXYs6qpXiUY8P/eA== X-Google-Smtp-Source: AAOMgpextl1B479SnJdBw33d87j9Ut62jsdkTz8PrAWlEAfScn/6ULATauzL7tk7LNurnfy/ao5hsg== X-Received: by 2002:a62:b0c:: with SMTP id t12-v6mr6185257pfi.36.1531294880962; Wed, 11 Jul 2018 00:41:20 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id f10-v6sm33866590pgr.30.2018.07.11.00.41.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 11 Jul 2018 00:41:20 -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 Subject: [PATCH v11 01/15] asm-generic: add kexec_file_load system call to unistd.h Date: Wed, 11 Jul 2018 16:41:49 +0900 Message-Id: <20180711074203.3019-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180711074203.3019-1-takahiro.akashi@linaro.org> References: <20180711074203.3019-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180711_004131_710827_CEF74B4F X-CRM114-Status: UNSURE ( 9.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ard.biesheuvel@linaro.org, bhsharma@redhat.com, kexec@lists.infradead.org, linux-kernel@vger.kernel.org, AKASHI Takahiro , james.morse@arm.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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