]> xenbits.xensource.com Git - xen.git/commit
x86/svm: Drop the set_segment_register() macro
authorAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Sep 2016 14:28:21 +0000 (14:28 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 26 Sep 2016 15:45:03 +0000 (16:45 +0100)
commit89c423a170de2fef08445ea9151bcfa15c45b217
treee1039684d8f46bcf3328a7afc38203ef5966028b
parent6bfee2038565a208f4ecef0911087ca10eecf25b
x86/svm: Drop the set_segment_register() macro

Replace its sole users with a single piece of inline assembly which is more
flexable about its register constraints, rather than forcing the use of %ax.

While editing this area, reflow the comment to remove trailing whitespace and
use fewer lines.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
xen/arch/x86/hvm/svm/svm.c