Revert "timecounter: No _Timecounter_Tick_simple() for SMP"

This reverts commit 46ae1d7a2b.

The _Timecounter_Tick_simple() function actually doesn't switch to the
next timehand, so it is all right to use the simple timecounter approach
even on SMP configurations.  The use of simple timecounters is not
recommended however since they impose a performance penalty.
This commit is contained in:
Sebastian Huber
2015-06-11 09:56:18 +02:00
parent 46ae1d7a2b
commit f718e790e1
-6
View File
@@ -1962,11 +1962,6 @@ _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)
{
@@ -2006,7 +2001,6 @@ _Timecounter_Tick_simple(uint32_t delta, uint32_t offset)
_Watchdog_Tick();
}
#endif /* RTEMS_SMP */
#endif /* __rtems__ */
#ifndef __rtems__