[patch V2 27/44] x86/ldttss: Cleanup 32bit descriptors

2017-08-25 Thread Thomas Gleixner
Like the IDT descriptors the LDT/TSS descriptors are pointlessly different on 32 and 64 bit. Unify them and get rid of the duplicated code. Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/desc.h | 26 +++---

[patch V2 27/44] x86/ldttss: Cleanup 32bit descriptors

2017-08-25 Thread Thomas Gleixner
Like the IDT descriptors the LDT/TSS descriptors are pointlessly different on 32 and 64 bit. Unify them and get rid of the duplicated code. Signed-off-by: Thomas Gleixner --- arch/x86/include/asm/desc.h | 26 +++--- arch/x86/include/asm/desc_defs.h | 27