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

2015-05-18 Thread Gedare Bloom
On Mon, May 18, 2015 at 3:36 AM, Sebastian Huber wrote: > > > 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 fi

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

2015-05-18 Thread Sebastian Huber
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 RTEM

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

2015-05-16 Thread Gedare Bloom
Not really related, but what is the "rule" for when we should use RTEMS_INLINE_ROUTINE versus being able to say "static inline"? -Gedare On Fri, May 15, 2015 at 7:41 AM, Sebastian Huber wrote: > This reduces the code size drastically. > --- > cpukit/score/Makefile.am | 1 + >