[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100405151259.7219c312.akpm@linux-foundation.org>
Date: Mon, 5 Apr 2010 15:12:59 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Joe Perches <joe@...ches.com>
Cc: Randy Dunlap <randy.dunlap@...cle.com>,
Jiri Kosina <trivial@...nel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH V2] kernel.h: Convert rounding macros to statement
expressions, add ADD_MOD
On Mon, 29 Mar 2010 15:18:34 -0700
Joe Perches <joe@...ches.com> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists