x86: unify struct desc_ptr
This patch unifies struct desc_ptr between i386 and x86_64. They can be expressed in the exact same way in C code, only having to change the name of one of them. As Xgt_desc_struct is ugly and big, this is the one that goes away. There's also a padding field in i386, but it is not really needed in the C structure definition. Signed-off-by:Glauber de Oliveira Costa <gcosta@redhat.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de>
Showing
- arch/x86/kernel/asm-offsets_32.c 2 additions, 3 deletionsarch/x86/kernel/asm-offsets_32.c
- arch/x86/kernel/cpu/common.c 1 addition, 1 deletionarch/x86/kernel/cpu/common.c
- arch/x86/kernel/doublefault_32.c 1 addition, 1 deletionarch/x86/kernel/doublefault_32.c
- arch/x86/kernel/efi_32.c 2 additions, 2 deletionsarch/x86/kernel/efi_32.c
- arch/x86/kernel/machine_kexec_32.c 2 additions, 2 deletionsarch/x86/kernel/machine_kexec_32.c
- arch/x86/kernel/reboot_32.c 1 addition, 1 deletionarch/x86/kernel/reboot_32.c
- arch/x86/lguest/boot.c 2 additions, 2 deletionsarch/x86/lguest/boot.c
- arch/x86/xen/enlighten.c 5 additions, 5 deletionsarch/x86/xen/enlighten.c
- drivers/kvm/svm.c 1 addition, 1 deletiondrivers/kvm/svm.c
- include/asm-x86/desc_32.h 5 additions, 11 deletionsinclude/asm-x86/desc_32.h
- include/asm-x86/lguest.h 4 additions, 4 deletionsinclude/asm-x86/lguest.h
- include/asm-x86/paravirt.h 9 additions, 9 deletionsinclude/asm-x86/paravirt.h
- include/asm-x86/processor_32.h 1 addition, 1 deletioninclude/asm-x86/processor_32.h
- include/asm-x86/suspend_32.h 2 additions, 2 deletionsinclude/asm-x86/suspend_32.h
Loading
Please register or sign in to comment