x86, fpu: Use the proper asm constraint in use_xsave()
authorH. Peter Anvin <hpa@zytor.com>
Mon, 10 May 2010 20:41:41 +0000 (13:41 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 10 May 2010 20:41:41 +0000 (13:41 -0700)
commitdce8bf4e115aa44d590802ce3554e926840c9042
tree9ad06695bb99cd815152ec61dce75fd5a792b1bf
parentc3f8978ea332cd4be88e12574452a025892ac9af
x86, fpu: Use the proper asm constraint in use_xsave()

The proper constraint for a receiving 8-bit variable is "=qm", not
"=g" which equals "=rim"; even though the "i" will never match, bugs
can and do happen due to the difference between "q" and "r".

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1273135546-29690-2-git-send-email-avi@redhat.com>
arch/x86/include/asm/i387.h