diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-11 11:09:13 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2015-12-15 07:41:34 +0100 |
commit | 54c3fbd63ec79d0986ecfacb9a37eb5a6fe3d264 (patch) | |
tree | 506dcbae4cd83d0d430b2e907564ffd55b0434eb /cpukit/rtems/include | |
parent | configure.ac: Do not reference ep1a (diff) | |
download | rtems-54c3fbd63ec79d0986ecfacb9a37eb5a6fe3d264.tar.bz2 |
score: Initialize thread control to zero
This reduces the code size of the thread initialization.
Diffstat (limited to '')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/asrimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/asrimpl.h b/cpukit/rtems/include/rtems/rtems/asrimpl.h index 38ee35d83a..bcfb69a558 100644 --- a/cpukit/rtems/include/rtems/rtems/asrimpl.h +++ b/cpukit/rtems/include/rtems/rtems/asrimpl.h @@ -51,7 +51,7 @@ RTEMS_INLINE_ROUTINE void _ASR_Initialize ( RTEMS_INLINE_ROUTINE void _ASR_Create( ASR_Information *asr ) { _ISR_lock_Initialize( &asr->Lock, "ASR" ); - _ASR_Initialize( asr ); + RTEMS_STATIC_ASSERT( RTEMS_DEFAULT_MODES == 0, _ASR_Create_mode_set ); } RTEMS_INLINE_ROUTINE void _ASR_Destroy( ASR_Information *asr ) |