diff options
Diffstat (limited to 'cpukit/include/rtems')
-rw-r--r-- | cpukit/include/rtems/confdefs.h | 12 | ||||
-rw-r--r-- | cpukit/include/rtems/score/thread.h | 11 |
2 files changed, 1 insertions, 22 deletions
diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index f59e0f7068..2e183c78d9 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -1108,18 +1108,8 @@ extern rtems_initialization_tasks_table Initialization_tasks[]; #ifndef CONFIGURE_IDLE_TASK_BODY #if defined(BSP_IDLE_TASK_BODY) #define CONFIGURE_IDLE_TASK_BODY BSP_IDLE_TASK_BODY - #elif (CPU_PROVIDES_IDLE_THREAD_BODY == TRUE) - #define CONFIGURE_IDLE_TASK_BODY _CPU_Thread_Idle_body #else - /* only instantiate and compile if used */ - #ifdef CONFIGURE_INIT - void *_Thread_Idle_body(uintptr_t ignored) - { - for( ; ; ) ; - return 0; /* to avoid warning */ - } - #endif - #define CONFIGURE_IDLE_TASK_BODY _Thread_Idle_body + #define CONFIGURE_IDLE_TASK_BODY _CPU_Thread_Idle_body #endif #endif /**@}*/ /* end of IDLE thread configuration */ diff --git a/cpukit/include/rtems/score/thread.h b/cpukit/include/rtems/score/thread.h index 4dd1023045..1e97083dd7 100644 --- a/cpukit/include/rtems/score/thread.h +++ b/cpukit/include/rtems/score/thread.h @@ -879,17 +879,6 @@ struct _Thread_Control { void *extensions[ RTEMS_ZERO_LENGTH_ARRAY ]; }; -#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE) -/** - * This routine is the body of the system idle thread. - * - * NOTE: This routine is actually instantiated by confdefs.h when needed. - */ -void *_Thread_Idle_body( - uintptr_t ignored -); -#endif - typedef void (*rtems_per_thread_routine)( Thread_Control * ); /* Use rtems_task_iterate() instead */ |