diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/device/device.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/device/device.h b/src/include/device/device.h index 8e1e62aa7c..ebf8314096 100644 --- a/src/include/device/device.h +++ b/src/include/device/device.h @@ -220,6 +220,12 @@ void set_cpu_topology(struct device *cpu, unsigned int node, #define intel_cpu_topology(cpu, package, core, thread) \ set_cpu_topology(cpu, 0, package, core, thread) +void mp_init_cpus(DEVTREE_CONST struct bus *cpu_bus); +static inline void mp_cpu_bus_init(struct device *dev) +{ + mp_init_cpus(dev->link_list); +} + /* Debug functions */ void print_resource_tree(const struct device *root, int debug_level, const char *msg); |