Changeset View
Changeset View
Standalone View
Standalone View
sys/x86/x86/mp_x86.c
Show First 20 Lines • Show All 1,093 Lines • ▼ Show 20 Lines | #endif | ||||
kcsan_cpu_init(cpuid); | kcsan_cpu_init(cpuid); | ||||
/* | /* | ||||
* Assert that smp_after_idle_runnable condition is reasonable. | * Assert that smp_after_idle_runnable condition is reasonable. | ||||
*/ | */ | ||||
MPASS(PCPU_GET(curpcb) == NULL); | MPASS(PCPU_GET(curpcb) == NULL); | ||||
sched_throw(NULL); | sched_ap_entry(); | ||||
panic("scheduler returned us to %s", __func__); | panic("scheduler returned us to %s", __func__); | ||||
/* NOTREACHED */ | /* NOTREACHED */ | ||||
} | } | ||||
static void | static void | ||||
smp_after_idle_runnable(void *arg __unused) | smp_after_idle_runnable(void *arg __unused) | ||||
{ | { | ||||
▲ Show 20 Lines • Show All 575 Lines • Show Last 20 Lines |