diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-02-18 08:36:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-03-04 13:36:10 +0100 |
commit | 90d8567d34a6d80da04b1cb37b667a3173f584c4 (patch) | |
tree | 221e66b9da1dd9dd79d01e507f0026bfb477b810 /cpukit/score/include/rtems/score/watchdogimpl.h | |
parent | score: Add _SMP_Before_multitasking_action() (diff) | |
download | rtems-90d8567d34a6d80da04b1cb37b667a3173f584c4.tar.bz2 |
score: Distribute clock tick to all online CPUs
Update #2554.
Diffstat (limited to 'cpukit/score/include/rtems/score/watchdogimpl.h')
-rw-r--r-- | cpukit/score/include/rtems/score/watchdogimpl.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/include/rtems/score/watchdogimpl.h b/cpukit/score/include/rtems/score/watchdogimpl.h index 8064c77447..49ac2a12b1 100644 --- a/cpukit/score/include/rtems/score/watchdogimpl.h +++ b/cpukit/score/include/rtems/score/watchdogimpl.h @@ -23,6 +23,7 @@ #include <rtems/score/assert.h> #include <rtems/score/chainimpl.h> #include <rtems/score/isrlock.h> +#include <rtems/score/percpu.h> #ifdef __cplusplus extern "C" { @@ -139,11 +140,11 @@ RTEMS_INLINE_ROUTINE void _Watchdog_Flash( void _Watchdog_Handler_initialization( void ); /** - * @brief Triggers a watchdog tick. + * @brief Performs a watchdog tick. * - * This routine executes TOD, watchdog and scheduler ticks. + * @param cpu The processor for this watchdog tick. */ -void _Watchdog_Tick( void ); +void _Watchdog_Tick( Per_CPU_Control *cpu ); /** * @brief Removes @a the_watchdog from the watchdog chain. |