After increasing th_generation if an overflow happens its value should be 1 
since 0 means that the timehand is being updated.
In single-core configurations, this wasn't corrected. This patch solves this 
issue for RTEMS 6.

Gabriel Moyano (1):
  kern_tc.c: th_generation starts with 1 after overflow for single-core

 cpukit/score/src/kern_tc.c | 23 ++++++++++-------------
 1 file changed, 10 insertions(+), 13 deletions(-)

-- 
2.25.1

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to