diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-09-26 06:34:54 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-10-05 13:41:06 +0200 |
commit | 8776bb94197613a369b47b3adf4b2d4e0ba766ed (patch) | |
tree | 37f2177f56e8d758bc4433ea8f8d98851fa81a18 /cpukit/score/cpu/arm/include/rtems/score/cpu.h | |
parent | dev/sc16is752: Deal with a baud of zero (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/score/cpu/arm/include/rtems/score/cpu.h | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/cpukit/score/cpu/arm/include/rtems/score/cpu.h b/cpukit/score/cpu/arm/include/rtems/score/cpu.h index 3343b40297..a44abe167e 100644 --- a/cpukit/score/cpu/arm/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/arm/include/rtems/score/cpu.h @@ -119,12 +119,6 @@ #define CPU_ENABLE_ROBUST_THREAD_DISPATCH TRUE -#if defined(ARM_MULTILIB_HAS_WFI) - #define CPU_PROVIDES_IDLE_THREAD_BODY TRUE -#else - #define CPU_PROVIDES_IDLE_THREAD_BODY FALSE -#endif - #define CPU_STACK_GROWS_UP FALSE #if defined(ARM_MULTILIB_CACHE_LINE_MAX_64) @@ -597,9 +591,7 @@ static inline CPU_Counter_ticks _CPU_Counter_difference( return second - first; } -#if CPU_PROVIDES_IDLE_THREAD_BODY == TRUE - void *_CPU_Thread_Idle_body( uintptr_t ignored ); -#endif +void *_CPU_Thread_Idle_body( uintptr_t ignored ); /** @} */ |