diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-01 16:11:30 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-05-02 13:46:50 +0200 |
commit | 0a68d8e45ae1c979f350213ed9c174b86e0c7fdf (patch) | |
tree | 6d87ee6428e446f871ab22fc4fa53a1f46af39d4 /cpukit/score/src/objectgetlocal.c | |
parent | mpci: Make _*_MP_Get_packet() static (diff) | |
download | rtems-0a68d8e45ae1c979f350213ed9c174b86e0c7fdf.tar.bz2 |
score: Optimize _Objects_Get_local()
Make the interrupt lock context the second parameter to avoid register
moves.
Diffstat (limited to 'cpukit/score/src/objectgetlocal.c')
-rw-r--r-- | cpukit/score/src/objectgetlocal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/score/src/objectgetlocal.c b/cpukit/score/src/objectgetlocal.c index 1134095b27..2024b59bc0 100644 --- a/cpukit/score/src/objectgetlocal.c +++ b/cpukit/score/src/objectgetlocal.c @@ -27,8 +27,8 @@ Objects_Control *_Objects_Get_local( Objects_Id id, - const Objects_Information *information, - ISR_lock_Context *lock_context + ISR_lock_Context *lock_context, + const Objects_Information *information ) { uint32_t index; |