From: Jeremy Fitzhardinge Date: Mon, 2 Apr 2012 23:15:33 +0000 (-0700) Subject: x86: Use correct byte-sized register constraint in __xchg_op() X-Git-Tag: v3.4-rc3~30^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ca052a3710fac208eee690faefdeb8bbd4586a1;p=pandora-kernel.git x86: Use correct byte-sized register constraint in __xchg_op() x86-64 can access the low half of any register, but i386 can only do it with a subset of registers. 'r' causes compilation failures on i386, but 'q' expresses the constraint properly. Signed-off-by: Jeremy Fitzhardinge Link: http://lkml.kernel.org/r/4F7A3315.501@goop.org Reported-by: Leigh Scott Tested-by: Thomas Reitmayr Signed-off-by: H. Peter Anvin Cc: v3.3 --- Reading git-diff-tree failed