android_kernel_xiaomi_sm8350/arch/x86
Glauber de Oliveira Costa 6842ef0e85 x86: unify desc_struct
This patch aims to make the access of struct desc_struct variables
equal across architectures. In this patch, I unify the i386 and x86_64
versions under an anonymous union, keeping the way they are accessed
untouched (a and b for 32-bit code, individual bit-fields for 64-bit).

This solution is not beautiful, but will allow us to integrate common
code that differed by the way descriptors were used. This is to be viewed
incrementally. There's simply too much code to be fixed at once.

In the future, goal is to set up in a single way of acessing
the desc_struct fields.

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>
2008-01-30 13:31:11 +01:00
..
boot x86: tweak io_64.h for paravirt. 2008-01-30 13:31:10 +01:00
configs x86: 64-bit, make sparsemem vmemmap the only memory model 2008-01-30 13:30:47 +01:00
crypto [CRYPTO] twofish: Merge common glue code 2008-01-14 17:07:57 +11:00
ia32 x86: x86 ptrace merge removals 2008-01-30 13:31:02 +01:00
kernel x86: unify desc_struct 2008-01-30 13:31:11 +01:00
lguest x86: use generic register name in the thread and tss structures 2008-01-30 13:31:02 +01:00
lib
mach-default
mach-es7000
mach-generic
mach-visws x86: cleanup mpspec variants 2008-01-30 13:30:35 +01:00
mach-voyager x86: rename the struct pt_regs members for 32/64-bit consistency 2008-01-30 13:30:56 +01:00
math-emu x86: lindent arch/i386/math-emu, cleanup 2008-01-30 13:30:12 +01:00
mm x86: unify mmap_{32|64}.c 2008-01-30 13:31:10 +01:00
oprofile x86: rename the struct pt_regs members for 32/64-bit consistency 2008-01-30 13:30:56 +01:00
pci
power x86: x86-32 thread_struct.debugreg 2008-01-30 13:30:59 +01:00
vdso x86: introduce native_read_tscp 2008-01-30 13:31:06 +01:00
video
xen x86: use generic register name in the thread and tss structures 2008-01-30 13:31:02 +01:00
Kconfig x86: use def_bool where possible 2008-01-30 13:31:03 +01:00
Kconfig.cpu x86: use def_bool where possible in Kconfig.cpu 2008-01-30 13:31:03 +01:00
Kconfig.debug x86: make io_delay=0xed the default 2008-01-30 13:30:05 +01:00
Makefile
Makefile_32 x86 vDSO: i386 vdso32 install 2008-01-30 13:30:42 +01:00
Makefile_32.cpu
Makefile_64 x86 vDSO: ia32 vsyscall removal 2008-01-30 13:30:44 +01:00