x86: unify non-paravirt parts of desc.h
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Wed, 30 Jan 2008 12:31:14 +0000 (13:31 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 30 Jan 2008 12:31:14 +0000 (13:31 +0100)
commit881c2975d02b6575c417a6eee40868d60a9ecba9
tree402785bef46e3051aca5d006eaddbf0b99aff502
parent59fbed775aa5a6f352bfbde6b40508b541086b7e
x86: unify non-paravirt parts of desc.h

This patch unifies the non-paravirt part of desc_{32,64}.h into
desc.h. Most of it, is simply common code, that is moved to
the shared header. The only exception is the set_ldt_desc in desc_64.h,
which is changed - included its name - to accomodate for the way
the ldt is set up in i386.

Also, constant definitions used in desc_32.h are moved to desc_defs.h

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>
include/asm-x86/desc.h
include/asm-x86/desc_32.h
include/asm-x86/desc_64.h
include/asm-x86/mmu_context_64.h