]> xenbits.xensource.com Git - xtf.git/commit
hypercall: Refine fix for Clang code generation bug
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Nov 2020 12:57:45 +0000 (12:57 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 11 Nov 2020 13:05:03 +0000 (13:05 +0000)
commit8ab15139728a8efd3ebbb60beb16a958a6a93fa1
tree4ad1fc02f5f1297842fa41c0812a1a665f2fc44c
parent848c3f2dd42711c4d9fc01839d6630c115daa22f
hypercall: Refine fix for Clang code generation bug

It was incorrect to switch "=a" to "+a" and set up hcall, as the hypercall
number is encoded in the offset within hypercall_page.  Switch res back to
just an output.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
arch/x86/include/arch/hypercall-x86_32.h
arch/x86/include/arch/hypercall-x86_64.h