]> git.baikalelectronics.ru Git - kernel.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)
commite21b312d33f5783019dc08ba5c9bc0c937d7cc47
tree23e011c11bc221e1c51702ca7dc748d2b241005d
parentfa5eee90b09526336a54920127b79f469be8b56d
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