x86/ELF: eliminate pointless local variable from elf_core_save_regs()
authorJan Beulich <jbeulich@suse.com>
Tue, 29 Sep 2020 08:53:13 +0000 (10:53 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Sep 2020 08:53:13 +0000 (10:53 +0200)
commit7c6084c1f37dff3fcc4edbf080d16dec676f55fb
treed66917ff7255e29da48d408382a75c5569a3e444
parentc8b2488a817b3aedbb10fad72d9d41911f40eb17
x86/ELF: eliminate pointless local variable from elf_core_save_regs()

We can just as well specify the CRn structure fields directly in the
asm()s, just like done for all other ones.

Also drop the unecessary "volatile" from the asm()-s: There are no
relevant hidden side effects.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/include/asm-x86/x86_64/elf.h