[PATCH] x86: add an accessor function for getting the per-CPU gdt
commit251e6912df43df54570ed68aade703b329c6cd5b
authorZachary Amsden <zach@vmware.com>
Sun, 30 Oct 2005 22:59:34 +0000 (30 14:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 31 Oct 2005 01:37:12 +0000 (30 17:37 -0800)
tree28695a0c9a468281613a6b8ef8c79596e2764001
parent72e12b76fe48d99d1deb417f177b10a9d99b2e74
[PATCH] x86: add an accessor function for getting the per-CPU gdt

Add an accessor function for getting the per-CPU gdt.  Callee must already
have the CPU.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Acked-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/kernel/apm.c
arch/i386/kernel/cpu/common.c
arch/i386/mm/fault.c
include/asm-i386/desc.h