x86: use limited register constraint for setnz
authorSteven Rostedt <rostedt@goodmis.org>
Tue, 25 Nov 2008 05:42:37 +0000 (00:42 -0500)
committerIngo Molnar <mingo@elte.hu>
Tue, 25 Nov 2008 14:38:03 +0000 (15:38 +0100)
commit5cf02b7bafddb6c3c16ddfb23d3ce187f70528ba
tree282326f87040c4ad3a55cfdbe64f1ae8a6fc13f8
parent86bbc2c235e500957b213e7e64ce2e0ccb8bc131
x86: use limited register constraint for setnz

Impact: build fix with certain compilers

GCC can decide to use %dil when "r" is used, which is not valid for
setnz.

This bug was brought out by Stephen Rothwell's merging of the
branch tracer into linux-next.

[ Thanks to Uros Bizjak for recommending 'q' over 'Q' ]

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/boot/tty.c