warning: read-write constraint -- 2.6.15-git8 onwards

From: Andy Whitcroft
Date: Wed Jan 18 2006 - 13:24:02 EST


It seems that the following commit causes a bunch of warnings out of
most of the files in the kernel tree (see below for examples). Backing
this out seems to cure them?

diff-tree 92934bcbf96bc9dc931c40ca5f1a57685b7b813b (from
636aab5ce332d88a76362797a55804c7da643467)`
tree eb9690ca6b23b5603429a8b3d290d6ca2545bcaf
parent 636aab5ce332d88a76362797a55804c7da643467
author Andi Kleen <ak@xxxxxxx> 1137015752 +0100
committer Linus Torvalds <torvalds@xxxxxxxxxxx> 1137034871 -0800

[PATCH] i386/x86-64: Use input/output dependencies for bitops

Noticed by Andreas Schwab

Signed-off-by: Andi Kleen <ak@xxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>

Compiled with:

gcc version 3.3.4 (Debian 1:3.3.4-6sarge1)

-apw

CC arch/x86_64/kernel/process.o
include/asm/bitops.h: In function `default_idle':
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h: In function `cpu_idle_wait':
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h: In function `cpu_idle':
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h: In function `set_personality_64bit':
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h: In function `copy_thread':
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
include/asm/bitops.h:30: warning: read-write constraint does not allow a
register
CC arch/x86_64/kernel/signal.o
include/asm/bitops.h: In function `do_notify_resume':
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
include/asm/bitops.h:65: warning: read-write constraint does not allow a
register
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/