diff options
Diffstat (limited to 'src/arch/arm64/cpu.c')
-rw-r--r-- | src/arch/arm64/cpu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/arm64/cpu.c b/src/arch/arm64/cpu.c index f1733ea637..66c8dde9be 100644 --- a/src/arch/arm64/cpu.c +++ b/src/arch/arm64/cpu.c @@ -299,6 +299,11 @@ void arch_initialize_cpus(device_t cluster, struct cpu_control_ops *cntrl_ops) } bus = cluster->link_list; + + /* Check if no children under this device. */ + if (bus == NULL) + return; + entry = prepare_secondary_cpu_startup(); /* Initialize the cpu_info structures. */ |