summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/watchdog.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-04-15 10:53:29 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-05-19 12:00:43 +0200
commit1ccbd052910ed16131c74b0d5595c8a94066942d (patch)
treea0c675b888d112efe455165bde2d9f0803392d3f /cpukit/score/src/watchdog.c
parentscore: Add _Watchdog_Acquire|Release|Flash() (diff)
downloadrtems-1ccbd052910ed16131c74b0d5595c8a94066942d.tar.bz2
score: Add Watchdog_Iterator
Rewrite the _Watchdog_Insert(), _Watchdog_Remove() and _Watchdog_Tickle() functions to use iterator items to synchronize concurrent operations. This makes it possible to get rid of the global variables _Watchdog_Sync_level and _Watchdog_Sync_count which are a blocking point for scalable SMP solutions. Update #2307.
Diffstat (limited to 'cpukit/score/src/watchdog.c')
-rw-r--r--cpukit/score/src/watchdog.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c
index 0db60efe6b..11d3cf289f 100644
--- a/cpukit/score/src/watchdog.c
+++ b/cpukit/score/src/watchdog.c
@@ -25,8 +25,6 @@
void _Watchdog_Handler_initialization( void )
{
- _Watchdog_Sync_count = 0;
- _Watchdog_Sync_level = 0;
_Watchdog_Ticks_since_boot = 0;
_Watchdog_Header_initialize( &_Watchdog_Ticks_header );