x86: unify paravirt pieces of descriptor handling
With the types used to access descriptors in x86_64 and i386 now being the same, the code that effectively handles them can now be easily shared. This patch moves the paravirt part of desc_32.h into desc.h, and then, we get paravirt support in x86_64 for free. 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
- include/asm-x86/desc.h 169 additions, 0 deletionsinclude/asm-x86/desc.h
- include/asm-x86/desc_32.h 0 additions, 130 deletionsinclude/asm-x86/desc_32.h
- include/asm-x86/desc_64.h 11 additions, 93 deletionsinclude/asm-x86/desc_64.h
- include/asm-x86/desc_defs.h 3 additions, 3 deletionsinclude/asm-x86/desc_defs.h
Please register or sign in to comment