x86: use descriptor's functions instead of inline assembly
authorGlauber de Oliveira Costa <gcosta@redhat.com>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 19 Oct 2007 18:35:03 +0000 (20:35 +0200)
commit9d1c6e7c86ddc366d67f0c5fa77be9b93710037a
tree2561f09ea7393c04634352808b6cba2195099b73
parent9d975ebda56699c1b8480e9736caf33a61ccb810
x86: use descriptor's functions instead of inline assembly

This patch provides a new set of functions for managing the descriptor
tables that can be used instead of putting the raw assembly in .c files.

Remodeling of store_tr() suggested by Frederik Deweerdt.

[ tglx: arch/x86 adaptation ]

Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/head64.c
arch/x86/kernel/reboot_64.c
arch/x86/kernel/setup64.c
arch/x86/kernel/suspend_64.c
include/asm-x86/desc_64.h