diff options
author | James Morse <[email protected]> | 2023-11-21 13:45:32 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-06 12:41:50 +0900 |
commit | 96cf2036514acec9bee7c25ca61badc64820d734 (patch) | |
tree | 4530cea7e0a2aa16540aa2cf0147de5d152aca22 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | 13f9f0361c2e64f0dadb7964bfad11bf0a6fb7ab (diff) |
riscv: Switch over to GENERIC_CPU_DEVICES
Now that GENERIC_CPU_DEVICES calls arch_register_cpu(), which can be
overridden by the arch code, switch over to this to allow common code
to choose when the register_cpu() call is made.
This allows topology_init() to be removed.
This is an intermediate step to the logic being moved to drivers/acpi,
where GENERIC_CPU_DEVICES will do the work when booting with acpi=off.
This patch also has the effect of moving the registration of CPUs from
subsys to driver core initialisation, prior to any initcalls running.
Signed-off-by: James Morse <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Acked-by: Palmer Dabbelt <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Signed-off-by: "Russell King (Oracle)" <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Tested-by: Samuel Holland <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions