Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1B03415A3 for ; Mon, 13 Nov 2023 00:11:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XCXMkA5Q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1699834313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UQiJJ/dxNEHd77f2PC0oaN2B9+v5Hs6KtuITs8AqQVc=; b=XCXMkA5QOB0SBJCrwFOA7lVQxltMIBDSjs7jIsXedmQuofdQWUtIZ9ikOs3jAVZ2aDmDSk 2rBOsrF/wDFq/DXq8lfzWT9nAzjusb9F/vQfsgK8yZzK8HJsrPQcLjyx2UJUwliD5GIWNX qJFOwcRalWgqYeM61if0BTvFpaSaY3M= Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-90-Lh1G2OUYOtmH4WGwcq9G7A-1; Sun, 12 Nov 2023 19:11:52 -0500 X-MC-Unique: Lh1G2OUYOtmH4WGwcq9G7A-1 Received: by mail-pl1-f197.google.com with SMTP id d9443c01a7336-1cc274dbbc6so45122365ad.2 for ; Sun, 12 Nov 2023 16:11:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699834311; x=1700439111; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=UQiJJ/dxNEHd77f2PC0oaN2B9+v5Hs6KtuITs8AqQVc=; b=GNaFVU/XphaQ/AoTMQ+7IyiIaYpn348Az7SY8AwKp3699MDJTXIWKy0m8CcelUaK6U JMosVFj8xHwTEyKOF5HnE1NlARuZEn8yhdCCfHLNziO1nR2/VJj3LKpkXbjlRAvgZQwV cDghqcSgdsiVSkAYXCrDq7Dq+VYBsliV18M9w8xmqX3GC2ox/HZv/nJ97zI8/L33UXGU uuJZDxCXcxWl4rYeibM/GvOeJWZsKW1hCMx+vU95o+PTs7QmDp614FxyVIkMUxJHPSSb OzMbOd4r2tu9lP30zC0UP3k+RU7K97rdxJE5ew9CCFsCwGLyJFkZA/72W5k2QVA+hjaE oUkg== X-Gm-Message-State: AOJu0Yz2Whi5CVYOp9/DkUSlJbR6YglKQZpwlySMFDRNxXyDy/2jf9gJ BgwQ50CbUXcdXyBcSXac83mJaw5w/uK53m4+NdpRbq+DAIFNdaiATPbQL6MVhP8INKRt8zq1PuB oVTaACYbnG3pHahS0 X-Received: by 2002:a17:902:eecd:b0:1c3:4b24:d89d with SMTP id h13-20020a170902eecd00b001c34b24d89dmr6067395plb.40.1699834311419; Sun, 12 Nov 2023 16:11:51 -0800 (PST) X-Google-Smtp-Source: AGHT+IEdqJareZ27x0vWYdkv//f/HJqmqCsdd3lWu5y3OyZlPyNdejWbYRbuSoSv157Xo1Ur4thQ4Q== X-Received: by 2002:a17:902:eecd:b0:1c3:4b24:d89d with SMTP id h13-20020a170902eecd00b001c34b24d89dmr6067370plb.40.1699834311176; Sun, 12 Nov 2023 16:11:51 -0800 (PST) Received: from ?IPV6:2001:8003:e5b0:9f00:b890:3e54:96bb:2a15? ([2001:8003:e5b0:9f00:b890:3e54:96bb:2a15]) by smtp.gmail.com with ESMTPSA id m16-20020a170902db1000b001c9b8f76a89sm3022112plx.82.2023.11.12.16.11.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 12 Nov 2023 16:11:50 -0800 (PST) Message-ID: Date: Mon, 13 Nov 2023 10:11:42 +1000 Precedence: bulk X-Mailing-List: kvmarm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH RFC 04/22] Loongarch: remove arch_*register_cpu() exports To: "Russell King (Oracle)" , linux-pm@vger.kernel.org, loongarch@lists.linux.dev, linux-acpi@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-riscv@lists.infradead.org, kvmarm@lists.linux.dev, x86@kernel.org, linux-csky@vger.kernel.org, linux-doc@vger.kernel.org, linux-ia64@vger.kernel.org, linux-parisc@vger.kernel.org Cc: Salil Mehta , Jean-Philippe Brucker , jianyong.wu@arm.com, justin.he@arm.com, James Morse , Huacai Chen , WANG Xuerui References: From: Gavin Shan In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/7/23 20:29, 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. > > Signed-off-by: Russell King (Oracle) > --- > arch/loongarch/kernel/topology.c | 2 -- > 1 file changed, 2 deletions(-) > Reviewed-by: Gavin Shan