diff options
author | James Morse <[email protected]> | 2023-11-21 13:44:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-12-06 12:41:49 +0900 |
commit | d631a881f1ab0091de35ae09ba48193a543666b5 (patch) | |
tree | a683c93b6a54bd73221e9493eaeabc349952aec9 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | bb5e44fb3be685ecb3feb120aca4269a92cc84cf (diff) |
drivers: base: Move cpu_dev_init() after node_dev_init()
NUMA systems require the node descriptions to be ready before CPUs are
registered. This is so that the node symlinks can be created in sysfs.
Currently no NUMA platform uses GENERIC_CPU_DEVICES, meaning that CPUs
are registered by arch code, instead of cpu_dev_init().
Move cpu_dev_init() after node_dev_init() so that NUMA architectures
can use GENERIC_CPU_DEVICES.
Signed-off-by: James Morse <[email protected]>
Signed-off-by: "Russell King (Oracle)" <[email protected]>
Reviewed-by: Gavin Shan <[email protected]>
Reviewed-by: Jonathan Cameron <[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