[PATCH 34/45] score: Do not inline SMP lock if profiling enabled

Sebastian Huber sebastian.huber at embedded-brains.de
Mon May 18 07:36:30 UTC 2015



On 17/05/15 04:21, Gedare Bloom wrote:
> Not really related, but what is the "rule" for when we should use
> RTEMS_INLINE_ROUTINE versus being able to say "static inline"?

This file already used "static inline" and this is fine, since it 
requires at least C11 or C++11.

We should eliminate RTEMS_INLINE_ROUTINE and maybe define inline to 
__inline__ if desired in basedefs.h.

-- 
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.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list