Changeset View
Changeset View
Standalone View
Standalone View
sys/mips/beri/beri_mp.c
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Lines | if (reg != 0) { | ||||
if (OF_getprop(cpu, "cpu-release-addr", &se, | if (OF_getprop(cpu, "cpu-release-addr", &se, | ||||
sizeof(se)) <= 0) { | sizeof(se)) <= 0) { | ||||
printf("%s: CPU %d has missing or invalid " | printf("%s: CPU %d has missing or invalid " | ||||
"cpu-release-addr\n", __func__, reg); | "cpu-release-addr\n", __func__, reg); | ||||
continue; | continue; | ||||
} | } | ||||
if (se->entry_addr != 1) { | if (se->entry_addr != 1) { | ||||
printf("%s: CPU %d has uninitalized spin " | printf("%s: CPU %d has uninitialized spin " | ||||
rwatson: Fine by me. | |||||
"entry\n", __func__, reg); | "entry\n", __func__, reg); | ||||
continue; | continue; | ||||
} | } | ||||
} | } | ||||
CPU_SET(reg, mask); | CPU_SET(reg, mask); | ||||
} while ((cpu = OF_peer(cpu)) > 0); | } while ((cpu = OF_peer(cpu)) > 0); | ||||
return; | return; | ||||
▲ Show 20 Lines • Show All 166 Lines • Show Last 20 Lines |
Fine by me.