From 8d0b7d96439c8dcce6e3c1ab7ca732402f92a2c4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 1 Dec 1995 22:03:55 +0000 Subject: Insert mode argument to _Watchdog_Insert removed. Now are watchdog timers are automatically activated upon insertion. --- cpukit/score/src/watchdog.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'cpukit/score/src/watchdog.c') diff --git a/cpukit/score/src/watchdog.c b/cpukit/score/src/watchdog.c index b7963f5408..0f72bd3d5c 100644 --- a/cpukit/score/src/watchdog.c +++ b/cpukit/score/src/watchdog.c @@ -140,8 +140,7 @@ void _Watchdog_Adjust( void _Watchdog_Insert( Chain_Control *header, - Watchdog_Control *the_watchdog, - Watchdog_Insert_modes insert_mode + Watchdog_Control *the_watchdog ) { ISR_Level level; @@ -174,10 +173,10 @@ restart: delta_interval -= after->delta_interval; /* - * If you experience problems comment out the _ISR_Flash line. This - * (3.2.0) is the first release with this critical section redesigned. + * If you experience problems comment out the _ISR_Flash line. + * 3.2.0 was the first release with this critical section redesigned. * Under certain circumstances, the PREVIOUS critical section algorithm - * used around this flash point allows interrupts to execute + * used around this flash point allowed interrupts to execute * which violated the design assumptions. The critical section * mechanism used here WAS redesigned to address this. */ @@ -195,8 +194,7 @@ restart: } } - if ( insert_mode == WATCHDOG_ACTIVATE_NOW ) - _Watchdog_Activate( the_watchdog ); + _Watchdog_Activate( the_watchdog ); the_watchdog->delta_interval = delta_interval; -- cgit v1.2.3