summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/confdefs.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-09-26 06:34:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-10-05 13:41:06 +0200
commit8776bb94197613a369b47b3adf4b2d4e0ba766ed (patch)
tree37f2177f56e8d758bc4433ea8f8d98851fa81a18 /cpukit/include/rtems/confdefs.h
parentdev/sc16is752: Deal with a baud of zero (diff)
downloadrtems-8776bb94197613a369b47b3adf4b2d4e0ba766ed.tar.bz2
score: Remove CPU_PROVIDES_IDLE_THREAD_BODY
Remove the CPU_PROVIDES_IDLE_THREAD_BODY option to avoid unnecessary conditional compilation. Close #3539.
Diffstat (limited to 'cpukit/include/rtems/confdefs.h')
-rw-r--r--cpukit/include/rtems/confdefs.h12
1 files changed, 1 insertions, 11 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 */