[lkml]   [2010]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH V2] kernel.h: Convert rounding macros to statement expressions, add ADD_MOD
On Mon, 29 Mar 2010 15:18:34 -0700
Joe Perches <> wrote:

> Convert rounding macros to statement expressions
> so arguments are only evaluated once.
> Add kernel-doc to rounding macros
> Add ADD_MOD statement expression for "(x + y) % y"

In file included from /usr/src/devel/arch/x86/include/asm/cpumask.h:4,
from /usr/src/devel/arch/x86/include/asm/msr.h:18,
from /usr/src/devel/arch/x86/include/asm/processor.h:21,
from /usr/src/devel/arch/x86/include/asm/atomic.h:6,
from include/linux/crypto.h:20,
from arch/x86/kernel/asm-offsets_64.c:8,
from arch/x86/kernel/asm-offsets.c:4:
include/linux/cpumask.h:13: error: braced-group within expression allowed only inside a function
include/linux/cpumask.h:13: warning: no semicolon at end of struct or union
include/linux/cpumask.h:13: error: syntax error before numeric constant
include/linux/cpumask.h:13: warning: type defaults to 'int' in declaration of 'cpumask_t'
include/linux/cpumask.h:13: warning: data definition has no type or storage class

Some sort of dependency tangle I guess.

 \ /
  Last update: 2010-04-06 00:17    [from the cache]
©2003-2011 Jasper Spaans