x86/cpu: Move leftover contents of topology.c to setup.c
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 18 Mar 2024 18:12:45 +0000 (19:12 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Mar 2024 19:47:40 +0000 (20:47 +0100)
commitedf66a3c76635a5d326badd83d76fd480a0c8db2
tree3e48eeb93284463b69173dac0f1e70f9ead6b764
parent4ae3dc83b047d51485cce1a72be277a110d77c91
x86/cpu: Move leftover contents of topology.c to setup.c

The only useful piece of arch/x86/kernel/topology.c is the definition
of arch_cpu_is_hotpluggable() that can be moved elsewhere (other
architectures tend to put it into setup.c), so do that and delete
the rest of the file.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/12422874.O9o76ZdvQC@kreacher
arch/x86/kernel/Makefile
arch/x86/kernel/setup.c
arch/x86/kernel/topology.c [deleted file]