Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp448073rdb; Thu, 30 Nov 2023 08:48:57 -0800 (PST) X-Google-Smtp-Source: AGHT+IF/XoPmWy6UTkJ6bUa4pFfulo/xIC4Jpe+unA4gW/IYgYvFAuYVtjKGu4lloMTG07nah41O X-Received: by 2002:a17:902:e5c8:b0:1d0:16b3:dff4 with SMTP id u8-20020a170902e5c800b001d016b3dff4mr6779372plf.51.1701362937629; Thu, 30 Nov 2023 08:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701362937; cv=none; d=google.com; s=arc-20160816; b=N42APfCOZXyr5KHunu9LkFxcB/R8h9V6YZwiuDPxq5ulryqfV0N/b3JJ/5rQCYhQ50 mja2bR80+lij3h/mF1RyYTGX6mBTcrEvocfZg2C0i+uNX0GJ3yzFKZWZ2JyHi/iEfJTj R7LzOCE5YiSiHmGydO8mySy/e1QaSjbJ49t0vSFRGx9UorfKKKeO9L1MMe9sQzqPaGjf dxlQE/WnAvftszlWZfaPkEmehreRZpdjvCxXgoQD400YdKrTc3vKW0aWvAwy+asbKi+h tq0QT8ZGaUHYLdJ8gWazYLOgBD16mFxRJP1UbGlLUNVr+q+1gIk2dSzu+CxmxX46AInH 7t/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=govqhwScbbQtVtODMhRulxkNaRv1S8YL8XvXt2OOx8E=; fh=mecRpIs+FymEi5HTYu0/8CdtEE5NnH+ozVGi0R+OVso=; b=hLZAZkzS8kgPfrvA2P3sITkycq/Z4IWZti60zQh2e1dwM4ueDmlAJPEs2QTSchHDdf n6DN5OYcVtoZSyn/vP8PU/lPo9S6cFBa4BkRfrtu5NjL2rc4fDCyeMd7At5t9gwE3JKE 9YnYVtlIhwlgvoxWYTnBqq/O8ltZYKoA+Sp+l/sYmJE1jD9mbPhPYRvVqfci1mLK4COs t4rC3+9h4We41/+VTDXhcYCRldukj0nMP91jubbIK+9/3rExCtZA2pX1zztpquA2UZ5u ZaiTiDWwjNKzt+n9hbXqegp0hF6r1znxX2X7gT6OFhsGOS3tYp9kdSksEMus/B/nGEyU Vb0w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id c7-20020a170902d48700b001cf9d8aeeafsi1595375plg.247.2023.11.30.08.48.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 08:48:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id A282D822E541; Thu, 30 Nov 2023 08:48:53 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232370AbjK3Qsi (ORCPT + 99 others); Thu, 30 Nov 2023 11:48:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231837AbjK3Qsh (ORCPT ); Thu, 30 Nov 2023 11:48:37 -0500 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA1C210E2; Thu, 30 Nov 2023 08:48:43 -0800 (PST) Received: from mail.maildlp.com (unknown [172.18.186.216]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Sh2Cs19tDz6K9Bn; Fri, 1 Dec 2023 00:47:05 +0800 (CST) Received: from lhrpeml500005.china.huawei.com (unknown [7.191.163.240]) by mail.maildlp.com (Postfix) with ESMTPS id C919D140684; Fri, 1 Dec 2023 00:48:41 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 30 Nov 2023 16:48:40 +0000 Date: Thu, 30 Nov 2023 16:48:40 +0000 From: Jonathan Cameron To: "Russell King (Oracle)" CC: , , , , , , , , , , , , , Salil Mehta , Jean-Philippe Brucker , , , James Morse , Huacai Chen , WANG Xuerui Subject: Re: [PATCH 04/21] Loongarch: remove arch_*register_cpu() exports Message-ID: <20231130164840.0000465f@Huawei.com> In-Reply-To: References: Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml100005.china.huawei.com (7.191.160.25) To lhrpeml500005.china.huawei.com (7.191.163.240) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 30 Nov 2023 08:48:53 -0800 (PST) On Tue, 21 Nov 2023 13:44:10 +0000 "Russell King (Oracle)" wrote: > arch_register_cpu() and arch_unregister_cpu() are not used by anything > that can be a module - they are used by drivers/base/cpu.c and > drivers/acpi/acpi_processor.c, neither of which can be a module. > > Remove the exports. > > Reviewed-by: Gavin Shan > Signed-off-by: Russell King (Oracle) Reviewed-by: Jonathan Cameron > --- > arch/loongarch/kernel/topology.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/arch/loongarch/kernel/topology.c b/arch/loongarch/kernel/topology.c > index 3fd166006698..ae860fe81536 100644 > --- a/arch/loongarch/kernel/topology.c > +++ b/arch/loongarch/kernel/topology.c > @@ -25,7 +25,6 @@ int arch_register_cpu(int cpu) > > return ret; > } > -EXPORT_SYMBOL(arch_register_cpu); > > void arch_unregister_cpu(int cpu) > { > @@ -34,7 +33,6 @@ void arch_unregister_cpu(int cpu) > c->hotpluggable = 0; > unregister_cpu(c); > } > -EXPORT_SYMBOL(arch_unregister_cpu); > #endif > > static int __init topology_init(void)