x86: fix asm() constraint in clear_user()
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Dec 2016 16:52:42 +0000 (17:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Dec 2016 16:52:42 +0000 (17:52 +0100)
commit157db407533fb55c0ce0c133991e3cb951b76484
tree471dc0abb266636c620c0d38c887345f06ae2f77
parentb9a8061bc28930b0c922a5d828447c52e4e873c2
x86: fix asm() constraint in clear_user()

Commit 2fdf5b2554 ("x86: streamline copying to/from user memory")
wrongly used "g" here, when it obviously needs to be a register.

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/usercopy.c