Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1650853pxb; Mon, 23 Aug 2021 00:57:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwioSCdZYNRpky8YeV7vJ557aIpKnp/zLR0lB/w+O/GgSj276dHnY2irc4xBkNrn403yjpK X-Received: by 2002:a92:cb4b:: with SMTP id f11mr22076040ilq.189.1629705471171; Mon, 23 Aug 2021 00:57:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629705471; cv=none; d=google.com; s=arc-20160816; b=gzb0VTghSpA9hllHvLTIqTplOsRYG5PJUNQfwA/EzOnd2W6s6/75Qrminx5ZAYZJtk dFBki8dGsurQPbqHF46T1rcv3oFRLZvPeBKH8I1DtQnVQJsvGJzrEaRPTP7LcypcNkcP lGNyEZ26HmZfPbHR7mcLoo0PJXm8KAOCwE2VfuWgDUEU1igg5vbWYiDJ31loqOyGb7Yz mjgEynZRg5CXD4FovPMXjkub+cTHNPg8IvfcztFL0zENrZfWfOrnUUk4J/dKhziLGKUg 6DTsL0qbpgg68n9btYJUHGhG6/mNmdUvPKTnRbaoOpTSL6LlwtAwNG1W6tPbQtfUL4AI v+NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:cc:to:subject:from:message-id; bh=uPNqw4nUACTvBgtCw8f2VWWU2E8oKeHWWnVnh6V7uJM=; b=hCQ0rG7ePUbAmBSqpo1VxCB96Y/sIFfv2iCyavNrx6AGvpHkKTufmcpHVpwLDRvItQ RGsJYzXvoRfoy7bPRdTXyhBf0dBeidmNInrpOXidYcQ+CmwpYvrgat8Uvkren5eTOb+3 hy2DXZawf5c3B9MPH+vYBWr2NIQYm0KkCyUXfdgzI4UvuYk7F32i1IFRwG+haD4wFZ90 uYOmPAic5uaDckJsBcvuoDBeoj4JXayWFFFG04HwweRUqzqAxw9O1f7imaWCKTPGiPyE f2YRTlDDUSAIZ/D0UvXGy88HCJuXZ4oVArbM+myhJHMlkxmwND8faXnOyXKflCBF5L9j zq5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i11si14196110ilm.28.2021.08.23.00.57.39; Mon, 23 Aug 2021 00:57:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235339AbhHWH5b (ORCPT + 99 others); Mon, 23 Aug 2021 03:57:31 -0400 Received: from pegase2.c-s.fr ([93.17.235.10]:54453 "EHLO pegase2.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235100AbhHWH5a (ORCPT ); Mon, 23 Aug 2021 03:57:30 -0400 Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4GtPhZ18Dnz9sh6; Mon, 23 Aug 2021 09:56:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BW8ee6j24zPd; Mon, 23 Aug 2021 09:56:46 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4GtPgr62mKz9shw; Mon, 23 Aug 2021 09:56:08 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id B66198B780; Mon, 23 Aug 2021 09:56:08 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id g5F9dprrNvfB; Mon, 23 Aug 2021 09:56:08 +0200 (CEST) Received: from po9473vm.idsi0.si.c-s.fr (po15451.idsi0.si.c-s.fr [172.25.230.100]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 439AA8B796; Mon, 23 Aug 2021 09:56:08 +0200 (CEST) Received: by po9473vm.idsi0.si.c-s.fr (Postfix, from userid 0) id A8EF36BB19; Mon, 23 Aug 2021 06:45:20 +0000 (UTC) Message-Id: <6457eb4f327313323ed1f70e540bbb4ddc9178fa.1629701106.git.christophe.leroy@csgroup.eu> From: Christophe Leroy Subject: [PATCH] powerpc/syscalls: Remove __NR__exit To: Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman Cc: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org Date: Mon, 23 Aug 2021 06:45:20 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org __NR_exit is nowhere used. On most architectures it was removed by commit 135ab6ec8fda ("[PATCH] remove remaining errno and __KERNEL_SYSCALLS__ references") but not on powerpc. powerpc removed __KERNEL_SYSCALLS__ in commit 3db03b4afb3e ("[PATCH] rename the provided execve functions to kernel_execve"), but __NR_exit was left over. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/unistd.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index b541c690a31c..5eb462af6766 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -9,8 +9,6 @@ #define NR_syscalls __NR_syscalls -#define __NR__exit __NR_exit - #ifndef __ASSEMBLY__ #include -- 2.25.0