Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1710275rwb; Fri, 19 Aug 2022 08:10:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR6gfiwK21itxLKC4vqTFkLlq3+be287in5jahnRuk1Bimo5pO2Lc+W16BnCXiYA0hPd8qEQ X-Received: by 2002:a17:907:a074:b0:730:c7a3:2c9 with SMTP id ia20-20020a170907a07400b00730c7a302c9mr5074573ejc.110.1660921801938; Fri, 19 Aug 2022 08:10:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660921801; cv=none; d=google.com; s=arc-20160816; b=e0HPkw8Ld+wEzw1x7mMk2D5UgNby8D28pR7iP5988ltryTuzZYkYJMLBcG37tpDSrS tN2h7lRmu9jAk3dF5Mh13KtjC27i6GX+NDakb3kBXCnbFiDgg61p+p4KLaj419UGUI3V VNIt5Ob8RyCVYdNhrrcOjaud9SMMI8/pNy2EMtmb26oQMQevrvujtZBfWVp1ta4E7kah fPTiFlXFUOeuuPfXRTFa2eRoR/iUD7ks65nYkGfmzjkCvMTPiEJwZCk+4jWNGY037ucy MwpNnDZOwUTDDyY6yxo97Q8o3Pz8EaB6purZ5gSiICYjT96mCZOtrnV4IpoeBSBWL/24 JygQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=SYqd0jVvSqn0LYdbb0mNobM+NLD0i8990uNItjrpJW0=; b=l7YJjzLrQYY58slAdk2yFa5u1Mb0lyht+15nLeKARzqP2wc5HKkcTKYz4pAmgOWcjU CfJu5tjkgp/vwR1GhCVEajU/f69ExJSm0ZyfcXTZhvqCF4A3PVJRNNkg8FMRDTLtACJJ gO84gtIH8PKntBqR8KFucssXeKrsIDh9i9gQWRC+BAsjIJaIdpFZrz+clKLPcgZ08i0F /1IXz+hSlJdePxiHz5991mCBDKmqzTiDA5Ugn1fRaJfXInItF9z0sv1rA3ucIZw6rHLL OYX1/nxg1krlsYBsT+MkrSQZL8skyalxjNLsW27dgT14/9fPIcwvDoQCxnTprqodTcsm qy+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=p8X1gMss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q9-20020a056402518900b0043dde72da34si3879352edd.68.2022.08.19.08.09.34; Fri, 19 Aug 2022 08:10:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=p8X1gMss; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349600AbiHSO5Q (ORCPT + 99 others); Fri, 19 Aug 2022 10:57:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349172AbiHSO5O (ORCPT ); Fri, 19 Aug 2022 10:57:14 -0400 Received: from pandora.armlinux.org.uk (pandora.armlinux.org.uk [IPv6:2001:4d48:ad52:32c8:5054:ff:fe00:142]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F342C64C4; Fri, 19 Aug 2022 07:57:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=SYqd0jVvSqn0LYdbb0mNobM+NLD0i8990uNItjrpJW0=; b=p8X1gMssAFqz7Cj5E1IU3EN3xz t/snbLEyJv1XAdu4J+MpAgDpW86NPkUeqqsmS64YxuYIDoz1/0nSwGnJ4A7MRHs6v4/DfY13yylRH yTpJ3gDO1i4G6ew5SrDgljBdNE61ShqeAK0joibG/N9CQrD4C5DO+D+oHobsM0kWRo/T88yRl68DM ivZpQK7KoicNncKbbL3cMwzclIbdo4NBfFt8WVkYbV7Yt9Ti+iBnKi0iAa3qakANtULKlnjVs0VPW qMm4R7XYp2iFBesGctz7KWjgzPu53WYvs3CSQtaYwSCE20OErGTcffzJDbyUtNOmEl2QCsbCVzRVd fg0lrl+g==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:33852) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oP3PW-0007vG-Sl; Fri, 19 Aug 2022 15:55:47 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1oP3PE-0007s8-Jr; Fri, 19 Aug 2022 15:55:28 +0100 Date: Fri, 19 Aug 2022 15:55:28 +0100 From: "Russell King (Oracle)" To: Kefeng Wang Cc: Richard Henderson , Ivan Kokshaysky , Matt Turner , Vineet Gupta , Catalin Marinas , Will Deacon , Guo Ren , Brian Cain , Huacai Chen , WANG Xuerui , Geert Uytterhoeven , Michal Simek , Thomas Bogendoerfer , Dinh Nguyen , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Nicholas Piggin , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Yoshinori Sato , Rich Felker , "David S . Miller" , Richard Weinberger , Anton Ivanov , Johannes Berg , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, Chris Zankel , Max Filippov , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, akpm@linux-foundation.org Subject: Re: [PATCH] kernel: exit: cleanup release_thread() Message-ID: References: <20220819014406.32266-1-wangkefeng.wang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220819014406.32266-1-wangkefeng.wang@huawei.com> Sender: Russell King (Oracle) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 19, 2022 at 09:44:06AM +0800, Kefeng Wang wrote: > Only x86 has own release_thread(), introduce a new weak > release_thread() function to clean empty definitions in > other ARCHs. > > Signed-off-by: Kefeng Wang ... > arch/arm/include/asm/processor.h | 3 --- > arch/arm/kernel/process.c | 4 ---- Acked-by: Russell King (Oracle) Thanks! -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!