diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-28 13:28:32 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-28 16:08:43 +0100 |
commit | c09db57f37e02e8458e3bffce689774546845bef (patch) | |
tree | 7afe403fa39ff81cedf0c83df1a73b950a871c1f /testsuites/smptests/smpscheduler03/init.c | |
parent | or1k: Avoid multiple iterations over cache (diff) | |
download | rtems-c09db57f37e02e8458e3bffce689774546845bef.tar.bz2 |
score: Fix thread queue context initialization
Initialize the thread queue context with invalid data in debug
configurations to catch missing set up steps.
Diffstat (limited to 'testsuites/smptests/smpscheduler03/init.c')
-rw-r--r-- | testsuites/smptests/smpscheduler03/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/smptests/smpscheduler03/init.c b/testsuites/smptests/smpscheduler03/init.c index 16e00c63b5..88eb66c61d 100644 --- a/testsuites/smptests/smpscheduler03/init.c +++ b/testsuites/smptests/smpscheduler03/init.c @@ -52,8 +52,8 @@ static void apply_priority( Thread_queue_Context *queue_context ) { - _Thread_queue_Context_clear_priority_updates(queue_context); _Thread_Wait_acquire(thread, queue_context); + _Thread_queue_Context_clear_priority_updates(queue_context); _Thread_Priority_change( thread, &thread->Real_priority, |