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 | |
parent | 9bf9068bb85367a23e285db416cc5fd62eb9dcc2 (diff) |
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')
-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, |