score: Remove CPU_PROVIDES_IDLE_THREAD_BODY

Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary
conditional compilation.

Close #3539.
This commit is contained in:
Sebastian Huber
2018-09-26 06:34:54 +02:00
parent b38887ad22
commit 8776bb9419
37 changed files with 53 additions and 516 deletions

View File

@@ -41,13 +41,7 @@ static void do_nothing_task(rtems_task_argument arg)
{
(void) arg;
#if CPU_PROVIDES_IDLE_THREAD_BODY == TRUE
_CPU_Thread_Idle_body(0);
#else
while (true) {
/* Do nothing */
}
#endif
}
static void test(void)

View File

@@ -245,13 +245,7 @@ static void busy_task(rtems_task_argument arg)
{
(void) arg;
#if CPU_PROVIDES_IDLE_THREAD_BODY == TRUE
_CPU_Thread_Idle_body(0);
#else
while (true) {
/* Do nothing */
}
#endif
}
static const char *blocked_or_ready(bool blocked)