summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-11-03 16:56:32 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2023-12-11 09:43:09 +0000
commit880eea43f4b3b133506df8b278da7ce13b02f3a6 (patch)
tree95310e9fbb10c7ddbe26e8bca1a55a5f4ec90258
parent299d5f82e272db75447e4839494606b92cc51b79 (diff)
Loongarch: remove arch_*register_cpu() exports
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 <gshan@redhat.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
-rw-r--r--arch/loongarch/kernel/topology.c2
1 files changed, 0 insertions, 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)