]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: move _set_gate and its users to a common location
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)
commit507f90c9f92592e7630b1c1e87bf92d2c9858cc6
tree23e011c11bc221e1c51702ca7dc748d2b241005d
parent54cd0eac7286b83ef1a657d2dddd74e0556209e7
x86: move _set_gate and its users to a common location

This patch moves _set_gate and its users to desc.h. We can now
use common code for x86_64 and i386.

[ mingo@elte.hu: set_system_gate() fixes for nasty crashes. ]

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>
arch/x86/kernel/traps_32.c
include/asm-x86/desc.h
include/asm-x86/desc_32.h
include/asm-x86/desc_64.h
include/asm-x86/desc_defs.h