From patchwork Mon Dec 4 02:57:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AKASHI Takahiro X-Patchwork-Id: 10089561 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 185AF60595 for ; Mon, 4 Dec 2017 02:57:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C88128E4A for ; Mon, 4 Dec 2017 02:57:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 007EA28E4F; Mon, 4 Dec 2017 02:57:41 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_MED, URIBL_DBL_ABUSE_SPAM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 911E828E4A for ; Mon, 4 Dec 2017 02:57:41 +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=eigUnVaaZeoR6zntsSKAzIqM36pvstzOsV7DR0pf0Ys=; b=LKgMJ0+1ctDMllPvNqmSkm+Z7G JglOD/llr2DoBjlmoRZTLghGzUtiTA5kaPqaKAaZrIQUyHoxJoTzmAnxQ3JS/78MinYrf0STQMK9v LPI+Q1AyQ7TFB/4q5Y81dQoOW9QL5inChN5opWkWUNtrQ6xH0OFCyP60uD6cw3TTXKsi+N6QyKZLt MXpb/f5vw1QHd0cei7cP+GxuQNuYYSziTZgnrNI93tpZPLKWYyLmNBhxtAe0sWlws3TuBeiKCACTk 3ucVrapCcUfaXhvJ/I6hQlk1FboMn0CwiMp1q9UvYS3QgUT6xfpJYTe6iPvlyC1+AQ8km5lKGsBUu QYqou6pg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eLgwu-0003Az-Ml; Mon, 04 Dec 2017 02:57:40 +0000 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eLgui-0000KR-2Z for linux-arm-kernel@lists.infradead.org; Mon, 04 Dec 2017 02:55:25 +0000 Received: by mail-pg0-x244.google.com with SMTP id m25so7196628pgv.12 for ; Sun, 03 Dec 2017 18:55:02 -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; bh=0ksGx4L+xN6AyzfgPucu9sDki/2xdJxO1EeZcxrOad4=; b=dR9nqaw0qAy768XKa8hzF/CvXhQgCA9/ssqmJ8BGI4YpiEwlJvVW6IS+jNCfRzascK TI4K6Ej344+JplQEjV4K1FJKM31isojTX/cKd/E8YePf5nVwUzadN/Ayzp086HPm18J5 UESr7O7GbjTVdhZ9Ph9S/iaKpXyYGN065k4ko= 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=0ksGx4L+xN6AyzfgPucu9sDki/2xdJxO1EeZcxrOad4=; b=VmdpTZwVylVG7Xvvz1bchK51d9bYaJM6w7zpZt1fT/us/S/s2Rs0Y/QLtJO0jARSyp wse2y7gY7BLGcpHvcTichi0zNMkzxVx5ikEW/+YnU5rbjfmkbtD8p8yFMsmJdd1QX+f3 +QBffFLzNqIJGUQwAfuO2Q3LAGsevL8TROiLBNwEyJw1TG90Tt+w3nSlowv2Ey8oiqx5 Qqg6CeXP1ACsgroAv5rzlartzSxpHxpvNJ10W21Ia7mXF58b389bPkx0mACNLmxda/EW /zr4g/WqMKSgy8vjnq/bdunuXuKeQH8gnYNurF9SweWURXTKVGYnBXIxPkgUw37xQ56w zOQg== X-Gm-Message-State: AJaThX6fEowPocEPDjmPkMLRBi3MA2JREmPJGOZVeEQCmNtlgdUu0F7L Blnuj192nbRHcxRBHnY2loOLZA== X-Google-Smtp-Source: AGs4zMaGID7Ak00L6G0QzpXTtZU3VeNAWk5LGqnzZRELcUEctCKmo3O+St1B4mNWQodIAYsnDZSSGA== X-Received: by 10.99.3.146 with SMTP id 140mr12672027pgd.275.1512356101714; Sun, 03 Dec 2017 18:55:01 -0800 (PST) Received: from linaro.org ([121.95.100.191]) by smtp.googlemail.com with ESMTPSA id 67sm19399296pfz.171.2017.12.03.18.55.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 03 Dec 2017 18:55:01 -0800 (PST) From: AKASHI Takahiro To: catalin.marinas@arm.com, will.deacon@arm.com, bauerman@linux.vnet.ibm.com, dhowells@redhat.com, vgoyal@redhat.com, herbert@gondor.apana.org.au, davem@davemloft.net, akpm@linux-foundation.org, mpe@ellerman.id.au, dyoung@redhat.com, bhe@redhat.com, arnd@arndb.de, ard.biesheuvel@linaro.org, julien.thierry@arm.com Subject: [PATCH v7 04/11] asm-generic: add kexec_file_load system call to unistd.h Date: Mon, 4 Dec 2017 11:57:54 +0900 Message-Id: <20171204025801.12161-5-takahiro.akashi@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171204025801.12161-1-takahiro.akashi@linaro.org> References: <20171204025801.12161-1-takahiro.akashi@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171203_185524_140862_BC72410A X-CRM114-Status: UNSURE ( 8.94 ) 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: AKASHI Takahiro , kexec@lists.infradead.org, linux-kernel@vger.kernel.org, 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 8b87de067bc7..33761525ed2f 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -732,9 +732,11 @@ __SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) __SYSCALL(__NR_pkey_free, sys_pkey_free) #define __NR_statx 291 __SYSCALL(__NR_statx, sys_statx) +#define __NR_kexec_file_load 292 +__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) #undef __NR_syscalls -#define __NR_syscalls 292 +#define __NR_syscalls 293 /* * All syscalls below here should go away really,