diff options
-rw-r--r-- | cpukit/score/src/kern_tc.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index f6a1136d31..7499be6c9c 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -1962,6 +1962,11 @@ _Timecounter_Tick(void) #endif /* __rtems__ */ } #ifdef __rtems__ +#ifndef RTEMS_SMP +/* + * This function is a hack to support legacy clock drivers and hardware. It + * makes no sense on SMP configurations since here ten timehands are active. + */ void _Timecounter_Tick_simple(uint32_t delta, uint32_t offset) { @@ -2001,6 +2006,7 @@ _Timecounter_Tick_simple(uint32_t delta, uint32_t offset) _Watchdog_Tick(); } +#endif /* RTEMS_SMP */ #endif /* __rtems__ */ #ifndef __rtems__ |