From patchwork Thu Nov 15 05:52:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 151163 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp6593432ljp; Wed, 14 Nov 2018 21:52:21 -0800 (PST) X-Google-Smtp-Source: AJdET5eAosUltk7aCcFIYot9EGxL6XxVD/XMDW73Zg/EP4KYIKw2Rf/RsY3p+IrS34kOdenTreJV X-Received: by 2002:a17:902:e201:: with SMTP id ce1-v6mr4976510plb.138.1542261141655; Wed, 14 Nov 2018 21:52:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542261141; cv=none; d=google.com; s=arc-20160816; b=SV+wZyfjnILEHe3HXVCnS0wCYvY84eqvw3QAlVU/U1RNB9KCDmEd3Bs8ypFXNJjS84 brZSSWdXFzkJn45NvaKOPSSbOToyptOMawIOu5hZcMjBvVccKLRjW6vZ4BHpauFQi9m1 at5emHOXEQLUkYTZvazTFQV8Mpdr7+pnkIGESJQxEAS+dm6cG63WVlt54vfyvd1giJMz PNeFG0puef1Qy8gKfsIPFvzb6wIqDATQ8n93+xeiK89CgfzYWxejui47oTlIpw7JHyX3 Hc2tFU2Z0IuioYcibqFitRjUHa8UITK7e+kAx0FJSxvVvmtZUAQsNxVRhnizS6ESqWIx DZtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fqOZgrmCseBCFVCglpCnlv6Vd3lKQ1VgNlnEF5YSifw=; b=yaRr1BpbTlQTPlMbucjFzBbHzHC5oQIDLr4+ZrzTg7Qv2sSMq7BdoQpdUh09LaLvsR kg2Yyoz86jRC+HAPoyTmXYqsGQEneswOydmO8CpyEUxFE2Lfr95qMRzZ+GInvLSNFbWK yBzrWdQLUto6KMmKnKEqx/sH3mPpeylRXeGNCqwg0IREBjRO/Uqv/2Lg6H5tFdEjKyOL eRpEE3pKw1UmvsdQ4mCYbEejvG9atu2mdULUZxIEznArC8do6QPabBiupNt8bLtuBwgm SW7AR9Qc1D2nIKIchXFrPG3kmVLmae++ZjBQewtVSaEqfziUY0Eq8GsintG/BNYlxGZV JCLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L0Lh7ada; 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 o3-v6si25467979plk.360.2018.11.14.21.52.21; Wed, 14 Nov 2018 21:52:21 -0800 (PST) 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=L0Lh7ada; 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 S1728569AbeKOP6o (ORCPT + 32 others); Thu, 15 Nov 2018 10:58:44 -0500 Received: from mail-yw1-f65.google.com ([209.85.161.65]:45028 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728468AbeKOP6o (ORCPT ); Thu, 15 Nov 2018 10:58:44 -0500 Received: by mail-yw1-f65.google.com with SMTP id k6-v6so8235620ywa.11 for ; Wed, 14 Nov 2018 21:52:18 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=fqOZgrmCseBCFVCglpCnlv6Vd3lKQ1VgNlnEF5YSifw=; b=L0Lh7adaB4/NBz1Jq7eWIVyflBdmNbUxt4AY6CAfqdA8EIpze6HPfem5PTfs/DdIuy nO0Ux+nFEZV3r0qw6u+AayYXEQULmZ5BENYIXIPtRcyWfd4fEEbwi6jvmcgp3HiFs4E4 lmSB8Ghz4NgyoOF6cFUUXgOdAf6u3836RA+ho= 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:mime-version:content-transfer-encoding; bh=fqOZgrmCseBCFVCglpCnlv6Vd3lKQ1VgNlnEF5YSifw=; b=Q02gujAENopM4k72X3+CiBD8BMgNCi/HJ6I+L2BMX28z60lIaJOc7/DAaxdqGG6k7Q 9HDXDecA+z0Ocr8VYhHRKQZ/bGuxJEqLneCBo+hGvfwHHxMV9ch3E0aUEoila6PygiJC Zmr32u1/tNIMdP5v5xZlLh35uh6CmDD2lv9V+sy8mNT2sY/cg/Scak1iKRCiv1TYoNEQ 0E4P2ktyR5BOjhPqj+OXoEGBxNaPY074LBqBdS/JDshUZL0K8wQQxIp99Vuv6QO9H2ml XQZ2vqGY2Py+BQTOlvN4S8bgyQ59ZApYFWnmIDgWY2pjrMOTjDcXa/yTA/NpBg6sGJnn Lrtw== X-Gm-Message-State: AGRZ1gIoQ5cwV6lXCh6TMZaVc4ruSnKrh3PzKbblLOQvGL+GALyzIXrX YwQZTHjyUS0hF/+Kfu+E69DUdQ== X-Received: by 2002:a81:ad57:: with SMTP id l23-v6mr4569256ywk.260.1542261138359; Wed, 14 Nov 2018 21:52:18 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 200-v6sm7892593ywq.97.2018.11.14.21.52.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 21:52:17 -0800 (PST) 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 v16 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Thu, 15 Nov 2018 14:52:40 +0900 Message-Id: <20181115055254.2812-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20181115055254.2812-1-takahiro.akashi@linaro.org> References: <20181115055254.2812-1-takahiro.akashi@linaro.org> MIME-Version: 1.0 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.19.0 diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 538546edbfbd..3b7196295fa6 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -738,9 +738,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