kib 557733c8f3 When updating/accessing the timehands, barriers are needed to ensure
that:
- th_generation update is visible after the parameters update is
  visible;
- the read of parameters is not reordered before initial read of
  th_generation.

On UP kernels, compiler barriers are enough.  For SMP machines, CPU
barriers must be used too, as was confirmed by submitter by testing on
the Freescale T4240 platform with 24 PowerPC processors.

Submitted by:	Sebastian Huber <sebastian.huber@embedded-brains.de>
MFC after:	1 week
2015-06-09 11:49:56 +00:00
..
2015-06-03 19:39:59 +00:00
2015-05-23 14:59:27 +00:00
2015-06-06 16:36:13 +00:00
2015-06-08 20:12:44 +00:00
2015-04-18 16:08:06 +00:00
2015-03-16 00:10:03 +00:00
2015-05-29 14:03:07 +00:00