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: 10541347 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 26F6E14BC for ; Tue, 24 Jul 2018 06:57:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 134F21FFB1 for ; Tue, 24 Jul 2018 06:57:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 069BD286E0; Tue, 24 Jul 2018 06:57:31 +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 8FE051FFB1 for ; Tue, 24 Jul 2018 06:57:29 +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=+rGDWaPDZkEyeHAK/1dQNUKVkm14o/D+V2iIbQnF+Qk=; b=BIzU3y6BuNDeiEzAgFbfeGDoSC 0D1/rM70+DbSYJNnm1ib/OD7WnQjqT/SIm2qUQeQLkmc9xjBLfv80OyrUsObDrrgoq3FV7qWUrvo3 y86UaufD9slUPI2SF28SHpA+7iEIhjxV7bYZMTE5V2A3udf2Hu5UeBLEp4GqVrElM/vzxmQiV3YjJ Q7ILLT4G5gJa6S7QCkF6pXwAip8QdmJejO9I9mc1tvPnHdUcIB5B4KgiRDaio/A/CydNLO44Yklr0 +Z2FuieYY/Tgy8JvkGxAoslABMZAZwhynAS08B8kjdX+er5dqLtij3OhBaLE6pOqK4lGFSOo/D05K ktjYj41w==; 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 1fhrG6-0000yZ-QP; Tue, 24 Jul 2018 06:57:22 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fhrFy-0000tN-K9 for linux-arm-kernel@lists.infradead.org; Tue, 24 Jul 2018 06:57:18 +0000 Received: by mail-pg1-x541.google.com with SMTP id n7-v6so2188801pgq.4 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=jz9DVOxLKcQp8+K4c2cRzgIZH9LLc5p3LfCqvf3fr/giz8jii57nKjjevckDmhkvdH 8Nqc5/YbYeteugeHiLTWN+PiMkVr8z4tKkLA6SryhA7RjLpN/GQyWLeSZFQJOcH3MkCo Jzz/1cokDBtILUPD2KeF8jeECuPiqenCzkARa01AxXG0PFGdgLFH6dsqmtWb9ibbCdD9 PiutS25bOYbjs2xPnyjjNIpSQmzCyyumMhT12IXXdBmhghYxFkuEGYfjpLdLrVpRxaBE b3cp06SvbHfNUnhAeevoApihPKUqeyNaGSvISEOkG/grY9iIy7jG4aagtf5zCW5hPAPr n41g== X-Gm-Message-State: AOUpUlGLyGSa48Q8t6irE/kEYEC8aqhX1VQBz63SUMH4p8+UGJZwm5S4 rC8TG9K28MYu+RRT4mHw3nRc5w== X-Google-Smtp-Source: AAOMgpfZytCmntNk893W3ELT04ScsWkhUGrKTLhbTE5ic9zIxhbPiY1g+r7VQnViBdUAwDcfVlVu5Q== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180723_235715_672528_2B667455 X-CRM114-Status: GOOD ( 11.35 ) 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