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

2014-07-09 Thread behanw
From: Behan Webster 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

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

2014-07-09 Thread behanw
From: Behan Webster beh...@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

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

2014-03-11 Thread Steven Rostedt
On Tue, 11 Mar 2014 00:01:44 -0700 Behan Webster wrote: > On 02/20/14 18:22, beh...@converseincode.com wrote: > > From: Behan Webster > > > > With compilers which follow the C99 standard (like modern versions of gcc > > and > > clang), "extern inline" does the wrong thing (emits code for an

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

2014-03-11 Thread Behan Webster
On 02/20/14 18:22, beh...@converseincode.com wrote: From: Behan Webster 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

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

2014-03-11 Thread Behan Webster
On 02/20/14 18:22, beh...@converseincode.com wrote: From: Behan Webster beh...@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

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

2014-03-11 Thread Steven Rostedt
On Tue, 11 Mar 2014 00:01:44 -0700 Behan Webster beh...@converseincode.com wrote: On 02/20/14 18:22, beh...@converseincode.com wrote: From: Behan Webster beh...@converseincode.com With compilers which follow the C99 standard (like modern versions of gcc and clang), extern inline does

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

2014-02-20 Thread behanw
From: Behan Webster 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

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

2014-02-20 Thread behanw
From: Behan Webster beh...@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