Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Reported-by: Leigh Scott <[email protected]> Tested-by: Thomas Reitmayr <[email protected]> Signed-off-by: H. Peter Anvin <[email protected]> Cc: <[email protected]> v3.3
- Loading branch information