summaryrefslogtreecommitdiffstats
path: root/cpukit/score/inline
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2006-12-05 15:57:31 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2006-12-05 15:57:31 +0000
commit6876ce7a4433e205ee30c3bdaec5dff7beec1785 (patch)
treeea0d37d22ea1fc6db540c15f0a408e58297d7cd5 /cpukit/score/inline
parentMore consts (diff)
downloadrtems-6876ce7a4433e205ee30c3bdaec5dff7beec1785.tar.bz2
2006-12-05 Ralf Corsépius <ralf.corsepius@rtems.org>
* score/inline/rtems/score/thread.inl: Add const qualifiers to work around aliasing effects.
Diffstat (limited to 'cpukit/score/inline')
-rw-r--r--cpukit/score/inline/rtems/score/thread.inl8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/score/inline/rtems/score/thread.inl b/cpukit/score/inline/rtems/score/thread.inl
index 125f7cf5f7..44d626d71c 100644
--- a/cpukit/score/inline/rtems/score/thread.inl
+++ b/cpukit/score/inline/rtems/score/thread.inl
@@ -41,7 +41,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Stop_multitasking( void )
*/
RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing (
- Thread_Control *the_thread
+ const Thread_Control *the_thread
)
{
return ( the_thread == _Thread_Executing );
@@ -53,7 +53,7 @@ RTEMS_INLINE_ROUTINE boolean _Thread_Is_executing (
*/
RTEMS_INLINE_ROUTINE boolean _Thread_Is_heir (
- Thread_Control *the_thread
+ const Thread_Control *the_thread
)
{
return ( the_thread == _Thread_Heir );
@@ -116,7 +116,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Calculate_heir( void )
#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
RTEMS_INLINE_ROUTINE boolean _Thread_Is_allocated_fp (
- Thread_Control *the_thread
+ const Thread_Control *the_thread
)
{
return ( the_thread == _Thread_Allocated_fp );
@@ -211,7 +211,7 @@ RTEMS_INLINE_ROUTINE void _Thread_Dispatch_initialization( void )
*/
RTEMS_INLINE_ROUTINE boolean _Thread_Is_null (
- Thread_Control *the_thread
+ const Thread_Control *the_thread
)
{
return ( the_thread == NULL );