On 03/06/15 16:17, Gedare Bloom wrote:
@@ -76,6 +77,16 @@ fls(int x)
> {
> return x ? sizeof(x) * 8 - __builtin_clz(x) : 0;
> }
>+static void
Any good reason none of the functions suggest inline?
In a source file the inline is probably superfluous. I use the inline
only to get rid of defined but not used warnings.
>+rmb(void)
>+{
>+ _Atomic_Fence(ATOMIC_ORDER_ACQUIRE);
>+}
>+static void
>+wmb(void)
>+{
>+ _Atomic_Fence(ATOMIC_ORDER_RELEASE);
>+}
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel