From patchwork Fri Sep 28 06:48:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 147767 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp370844lji; Thu, 27 Sep 2018 23:48:02 -0700 (PDT) X-Google-Smtp-Source: ACcGV62v/jbhMAGOahOFViM4civsHn0RQjxgTQBKr0kEI4P1Qdp45f+nh8PVu6Oe+mh9DOBbu0im X-Received: by 2002:a17:902:9047:: with SMTP id w7-v6mr14706202plz.291.1538117282575; Thu, 27 Sep 2018 23:48:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538117282; cv=none; d=google.com; s=arc-20160816; b=To/D7yUfTjHeFmcfKs/RGZfQU/jcQaQSJ3fFzuBsp+Y5S8cEu5SsArsn09zs/BT9aT n+JDI10Zg6yaSnA73cxro20O4Zs2gWT6pmhT5krd7x6MYcrV4TWHQTEjWqJb49gXGLfq vIbLkbwDej2acMBGw2CqFCQ3q9qyP1bgwKbhc0La1mxPMOLas6BD2FJAMfjyQmBESagi xF6hjnJ+u0T7Kz+dp/Vy2hxpXzZYxNBr/ctGvyLFRUOD+YGOdA/x1X/iMdbdr7lVweGJ mCMh185mOvrS8hwgpV+65UQoBrE9N7Wl6SyO2ZDivoe0JoErxOtOhHOivvGRssBO6N2m 44nQ== 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=p7VTwSew5JIQjBLJLLspuwEGyotzVxuUjhT6Cc4QWEY=; b=DT7XYX8wfmrxO1SIG1GqoluJjf57hwLGKEfe8ZKbloZIPeBjF6pFWaVcslnU2LCUQh Mf9Q+hULYQ5q28lGyavxpTmohJTFdD6Z0dem9tASoeoRIO8Rmhs/aWJaT1I+vv/BTG4K LOHdH8rktoJxQfosL/drOKzqznQYUE1wN/fR6vJK9GFNkZYvV2taimJ2iIrOl6hUHtrE onxwZFQVO8wcD+25VnfIVUgrvyg2KgbY3N1isLMNdB4pF9xyaX3b/pZcpG4CnWpzfXPP lTfeMjainZZId5MWV+8Jra0TSQg2iNTJGoDwKt6fEwgTcQcVhyAFsSb3H1oxXSOo6KPU y/PQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bFPgt1tp; 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 q197-v6si3843544pgq.526.2018.09.27.23.48.02; Thu, 27 Sep 2018 23:48:02 -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=bFPgt1tp; 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 S1728921AbeI1NKO (ORCPT + 32 others); Fri, 28 Sep 2018 09:10:14 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:32900 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbeI1NKN (ORCPT ); Fri, 28 Sep 2018 09:10:13 -0400 Received: by mail-pf1-f196.google.com with SMTP id d4-v6so3653262pfn.0 for ; Thu, 27 Sep 2018 23:47:59 -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 :mime-version:content-transfer-encoding; bh=p7VTwSew5JIQjBLJLLspuwEGyotzVxuUjhT6Cc4QWEY=; b=bFPgt1tplsXabUlQ6hCzj2urb7BtDmJeuUmQva+Qncik1zkUYv5VHI6lhF9oOye8/v Y+S8c0we9UP5r2SRWTJPjX3n6RRhyhpPNrtbFUtyk0LpbSHuAhLhWx3E0PCMQvFW8dky /BDwKAUo+vJkN8g49u451SCfEhAxV+z5uq9VI= 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=p7VTwSew5JIQjBLJLLspuwEGyotzVxuUjhT6Cc4QWEY=; b=LMHpPceaxX/uE1dU7m1rYSvgKNgvGevQIlUPTpaZeeThMkdV2IPRswLsFc2oJKX9pX 6u3C76IrYlYHlGBChFIxYhzodCKScBJTR9UyFWKKkrGI82iu48lsK89tCd9ddsbK5LU5 FJtJhMUz3kEO817De2cUqowKxXdeYiQUxo8ZkAsFF6g44B5eQ/pIbI+ZbGRk8k/Vn3vd MVz5l7QlzjrzIT0BTwMus2GiPg3aGpE/s5ehgiG67yuqZQc4i47LiFPPMHK2GBMpscMe p2NEJ8E0w0/ogRgxfwBL4KGXmVpnMqHe93a2ZciINtzHEAPwTHW/foRYtqFqOFOM0Oqg e1+g== X-Gm-Message-State: ABuFfoif+7JbaKaeIc3aCJEaDh3QoK6ANc7mbZgQ1yUOfNFDZJ9ZlY73 Gjs6GoakuS+wNAHAjG0oi574YA== X-Received: by 2002:a62:3644:: with SMTP id d65-v6mr15022082pfa.133.1538117279596; Thu, 27 Sep 2018 23:47:59 -0700 (PDT) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id f6-v6sm5312638pgf.52.2018.09.27.23.47.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 23:47:58 -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 v15 01/16] asm-generic: add kexec_file_load system call to unistd.h Date: Fri, 28 Sep 2018 15:48:26 +0900 Message-Id: <20180928064841.14117-2-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180928064841.14117-1-takahiro.akashi@linaro.org> References: <20180928064841.14117-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 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