x86: Switch "struct desc_struct" to being seg_desc_t
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 6 Dec 2018 14:05:29 +0000 (14:05 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 10 Dec 2018 15:43:25 +0000 (15:43 +0000)
commit95efc483ed1368b5c65c7b8486a18f5b7757d25a
tree867e122909eef6e30884d54ac3a0e8d531bbf286
parentdc5041ae52f7de7f67a4ae2a00411f2ca29ad581
x86: Switch "struct desc_struct" to being seg_desc_t

The struct suffix is redundant in the name, and a future change will want to
turn it into a union, rather than a structure.  As this represents a segment
descriptor, give it an appropriate typedef.

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
15 files changed:
xen/arch/x86/cpu/common.c
xen/arch/x86/domain.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/mm.c
xen/arch/x86/pv/descriptor-tables.c
xen/arch/x86/pv/emul-gate-op.c
xen/arch/x86/pv/emulate.c
xen/arch/x86/pv/emulate.h
xen/arch/x86/smpboot.c
xen/arch/x86/traps.c
xen/arch/x86/x86_64/mm.c
xen/include/asm-x86/desc.h
xen/include/asm-x86/ldt.h
xen/include/asm-x86/mm.h