On 15 July 2014 12:42, Alex Bennée <alex.ben...@linaro.org> wrote: > +#ifndef CONFIG_TRACE_NOP > +static inline void trace_inc_counter(int *counter) { > + int cnt = *counter; > + cnt++; > + *counter = cnt; > +}
...why isn't this just "*counter++;" ? -- PMM