From 9deaa215ac25e5fbcf8eef0a9b6f0351bf39d191 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 20 Jan 2011 09:18:00 +0000 Subject: [PATCH] 2011-01-20 Sebastian Huber * libblock/src/show_bdbuf.c, score/src/objectmp.c, score/src/threadmp.c: Avoid chain API violations. --- cpukit/ChangeLog | 4 ++-- cpukit/score/src/threadmp.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8e9207d345..bc5c01d932 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,7 +1,7 @@ 2011-01-20 Sebastian Huber - * libblock/src/show_bdbuf.c, score/src/objectmp.c: Avoid chain API - violations. + * libblock/src/show_bdbuf.c, score/src/objectmp.c, + score/src/threadmp.c: Avoid chain API violations. 2011-01-17 Joel Sherrill diff --git a/cpukit/score/src/threadmp.c b/cpukit/score/src/threadmp.c index 2b4137f103..ffd611b4ac 100644 --- a/cpukit/score/src/threadmp.c +++ b/cpukit/score/src/threadmp.c @@ -132,7 +132,7 @@ restart: _ISR_Disable( level ); - for ( proxy_node = _Thread_MP_Active_proxies.first; + for ( proxy_node = _Chain_First( &_Thread_MP_Active_proxies ); !_Chain_Is_tail( &_Thread_MP_Active_proxies, proxy_node ) ; ) { @@ -148,7 +148,7 @@ restart: _ISR_Flash( level ); - proxy_node = proxy_node->next; + proxy_node = _Chain_Next( proxy_node ); /* * A proxy which is only dormant is not in a blocking state.