]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: cleanup GDT Access
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 2 May 2007 17:27:11 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:11 +0000 (19:27 +0200)
commite989e56b3d677f558436bb5b446550c5d963f5c5
treee2d67eee96c143da26ccad791b3e1f23c3bcbe03
parentdd561849b58fda34bf2ca3bd9e78a511d388b41a
[PATCH] i386: cleanup GDT Access

Now we have an explicit per-cpu GDT variable, we don't need to keep the
descriptors around to use them to find the GDT: expose cpu_gdt directly.

We could go further and make load_gdt() pack the descriptor for us, or even
assume it means "load the current cpu's GDT" which is what it always does.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Andi Kleen <ak@suse.de>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/i386/kernel/cpu/common.c
arch/i386/kernel/efi.c
arch/i386/kernel/entry.S
arch/i386/kernel/smpboot.c
arch/i386/kernel/traps.c
include/asm-i386/desc.h