On 10/05/2012 03:59 PM, Josh Triplett wrote:
> On Fri, Oct 05, 2012 at 02:42:46PM -0500, danielfsan...@att.net wrote:
>> --- a/include/linux/compiler.h
>> +++ b/include/linux/compiler.h
>> @@ -296,6 +296,11 @@ void ftrace_likely_update(struct ftrace_branch_data *f,
>> int val, int expect);
>>
On Fri, Oct 05, 2012 at 02:42:46PM -0500, danielfsan...@att.net wrote:
> --- a/include/linux/compiler.h
> +++ b/include/linux/compiler.h
> @@ -296,6 +296,11 @@ void ftrace_likely_update(struct ftrace_branch_data *f,
> int val, int expect);
> #endif
> #ifndef __compiletime_error
> # define
Prior to the introduction of __attribute__((error("msg"))) in gcc 4.3,
creating compile-time errors required a little trickery.
BUILD_BUG{,_ON} uses this attribute when available to generate
compile-time errors, but also uses the negative-sized array trick for
older compilers, resulting in two
Prior to the introduction of __attribute__((error(msg))) in gcc 4.3,
creating compile-time errors required a little trickery.
BUILD_BUG{,_ON} uses this attribute when available to generate
compile-time errors, but also uses the negative-sized array trick for
older compilers, resulting in two error
On Fri, Oct 05, 2012 at 02:42:46PM -0500, danielfsan...@att.net wrote:
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -296,6 +296,11 @@ void ftrace_likely_update(struct ftrace_branch_data *f,
int val, int expect);
#endif
#ifndef __compiletime_error
# define
On 10/05/2012 03:59 PM, Josh Triplett wrote:
On Fri, Oct 05, 2012 at 02:42:46PM -0500, danielfsan...@att.net wrote:
--- a/include/linux/compiler.h
+++ b/include/linux/compiler.h
@@ -296,6 +296,11 @@ void ftrace_likely_update(struct ftrace_branch_data *f,
int val, int expect);
#endif
6 matches
Mail list logo