]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] i386: avoid gcc extension
authorRandy Dunlap <randy.dunlap@oracle.com>
Tue, 13 Feb 2007 12:26:24 +0000 (13:26 +0100)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 13 Feb 2007 12:26:24 +0000 (13:26 +0100)
commit3101673b659b916c965271c7f7c9b99cb353c01c
treeab5a47003588d5e31c1c1614b9bcc23c4bbeb65f
parent30b82ea08c3365a6fc916250ff2ad634717fc81b
[PATCH] i386: avoid gcc extension

setcc() in math-emu is written as a gcc extension statement expression
macro that returns a value.  However, it's not used that way and it's not
needed like that, so just make it a inline function so that we
don't use an extension when it's not needed.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Segher Boessenkool <segher@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/i386/math-emu/status_w.h