diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-19 14:14:31 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-04-21 07:29:40 +0200 |
commit | 88575577fa70f6a6c6800acb35e77e0ca12891b8 (patch) | |
tree | 75fe037f5bbf74bb7e50972f126a8c06cb58ce5c /cpukit/score/src/objectgetlocal.c | |
parent | score: Optimize _Objects_Get_no_protection() (diff) | |
download | rtems-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/score/src/objectgetlocal.c')
-rw-r--r-- | cpukit/score/src/objectgetlocal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectgetlocal.c b/cpukit/score/src/objectgetlocal.c index 8a93a765c9..1134095b27 100644 --- a/cpukit/score/src/objectgetlocal.c +++ b/cpukit/score/src/objectgetlocal.c @@ -26,8 +26,8 @@ #include <rtems/score/objectimpl.h> Objects_Control *_Objects_Get_local( - const Objects_Information *information, Objects_Id id, + const Objects_Information *information, ISR_lock_Context *lock_context ) { |