We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a551db commit 5f38bbbCopy full SHA for 5f38bbb
kernel/arch/aarch64/smp.c
@@ -104,6 +104,10 @@ void smp_bootstrap(void) {
104
105
static void start_cpu(uint32_t * node) {
106
uint32_t * cpuid = dtb_node_find_property(node, "reg");
107
+ if (!cpuid) {
108
+ dprintf("smp: skipping cpus node without 'reg' parameter\n");
109
+ return;
110
+ }
111
uint32_t num = swizzle(cpuid[2]);
112
dprintf("smp: cpu node %d %#zx '%s'\n", num, (uintptr_t)node, (char *)(node));
113
if (num == 0) return;
0 commit comments