x86/xsaves: using named operand instead numbered operand in xrstor
authorShuai Ruan <shuai.ruan@intel.com>
Wed, 25 Nov 2015 16:19:45 +0000 (17:19 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Nov 2015 16:19:45 +0000 (17:19 +0100)
commit3ebe992aef32ed42ac6bb01f2e0a0e04560840e9
treef43f065e27ae0a322f5de9a30768a01865b62e7d
parentd9d610de33e48cc7c21ef76d0b43a803425b4b63
x86/xsaves: using named operand instead numbered operand in xrstor

This is pre-req patch for latter xsaves patch. This patch introduce
a macro to handle restor fixup, also use named opreand instead of
numbered operand in restor fixup code.

Signed-off-by: Shuai Ruan <shuai.ruan@intel.com>
[with the expectation of later doing some cleanup:]
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/xstate.c