x86: unify struct desc_ptr
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:12 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:12 +0000 (13:31 +0100)
commit6b68f01baa810e9f63fbf39e9d5c3ef1d94a966f
treedc7f50673d72677d24dbe9ac8217b832f8d5cb02
parent6842ef0e85a9cc1295f3ef933a230f863b01eb0f
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>
14 files changed:
arch/x86/kernel/asm-offsets_32.c
arch/x86/kernel/cpu/common.c
arch/x86/kernel/doublefault_32.c
arch/x86/kernel/efi_32.c
arch/x86/kernel/machine_kexec_32.c
arch/x86/kernel/reboot_32.c
arch/x86/lguest/boot.c
arch/x86/xen/enlighten.c
drivers/kvm/svm.c
include/asm-x86/desc_32.h
include/asm-x86/lguest.h
include/asm-x86/paravirt.h
include/asm-x86/processor_32.h
include/asm-x86/suspend_32.h