x86/alt: Clean up struct alt_instr and its users
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Feb 2018 13:31:28 +0000 (13:31 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 9 Mar 2018 14:44:16 +0000 (14:44 +0000)
commit4faa8fdd87b04514e7b885331f86ab5aa0d99608
tree5867777fe992b7fa4359a1287925cda9c8b04cca
parent2ad245b467278a4e36dd5e340fc673728e29520b
x86/alt: Clean up struct alt_instr and its users

 * Rename some fields for consistency and clarity, and use standard types.
 * Don't opencode the use of ALT_{ORIG,REPL}_PTR().

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/arch/x86/alternative.c
xen/include/asm-x86/alternative.h