summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/include/rtems/posix/timerimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-19 14:14:31 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-04-21 07:29:40 +0200
commit88575577fa70f6a6c6800acb35e77e0ca12891b8 (patch)
tree75fe037f5bbf74bb7e50972f126a8c06cb58ce5c /cpukit/posix/include/rtems/posix/timerimpl.h
parentscore: Optimize _Objects_Get_no_protection() (diff)
downloadrtems-88575577fa70f6a6c6800acb35e77e0ca12891b8.tar.bz2
score: Optimize _Objects_Get_local()
Make the id the first parameter since usual callers get the object identifier as the first parameter themself.
Diffstat (limited to 'cpukit/posix/include/rtems/posix/timerimpl.h')
-rw-r--r--cpukit/posix/include/rtems/posix/timerimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/include/rtems/posix/timerimpl.h b/cpukit/posix/include/rtems/posix/timerimpl.h
index bf25629529..95ccc4e32b 100644
--- a/cpukit/posix/include/rtems/posix/timerimpl.h
+++ b/cpukit/posix/include/rtems/posix/timerimpl.h
@@ -98,8 +98,8 @@ RTEMS_INLINE_ROUTINE POSIX_Timer_Control *_POSIX_Timer_Get (
)
{
return (POSIX_Timer_Control *) _Objects_Get_local(
- &_POSIX_Timer_Information,
(Objects_Id) id,
+ &_POSIX_Timer_Information,
lock_context
);
}