[PATCH] arm: LLVMLinux: use static inline in ARM ftrace.h

Behan Webster behanw at converseincode.com
Tue Mar 11 03:01:44 EDT 2014


On 02/20/14 18:22, behanw at converseincode.com wrote:
> From: Behan Webster <behanw at converseincode.com>
>
> With compilers which follow the C99 standard (like modern versions of gcc and
> clang), "extern inline" does the wrong thing (emits code for an externally
> linkable version of the inline function). In this case using static inline
> and removing the NULL version of return_address in return_address.c does
> the right thing.
Any input? Is it good as it is?

Behan

-- 
Behan Webster
behanw at converseincode.com




More information about the linux-arm-kernel mailing list