diff options
Diffstat (limited to 'cpukit/score/src/threadcreateidle.c')
-rw-r--r-- | cpukit/score/src/threadcreateidle.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/src/threadcreateidle.c b/cpukit/score/src/threadcreateidle.c index 52c3ad4534..d71315005b 100644 --- a/cpukit/score/src/threadcreateidle.c +++ b/cpukit/score/src/threadcreateidle.c @@ -75,6 +75,9 @@ static void _Thread_Create_idle_for_CPU( Per_CPU_Control *cpu ) */ cpu->heir = cpu->executing = idle; +#if defined(RTEMS_SMP) + cpu->ancestor = idle; +#endif idle->is_idle = true; idle->Start.Entry.adaptor = _Thread_Entry_adaptor_idle; |