summaryrefslogtreecommitdiffstats
path: root/include/asm-x86_64/desc.h
diff options
context:
space:
mode:
authorAndi Kleen <ak@suse.de>2005-07-28 21:15:30 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 21:45:58 -0700
commita940199f206dcf51c65fae27e2ce412f2c5a2b22 (patch)
treeada838ac347214d20fcb6003cba1c4938dc7ebae /include/asm-x86_64/desc.h
parentde04f3220b9789cc40fd6b1d151dfa0a7e3b03b9 (diff)
[PATCH] x86_64: Some cleanup in setup64.c
Minor cleanup. Move things into their include files, remove obsolete includes, fix indentation, remove obsolete special cases etc. I also added the per cpu section to asm-generic/sections.h and fixed init/main.c to use it. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/asm-x86_64/desc.h')
-rw-r--r--include/asm-x86_64/desc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/asm-x86_64/desc.h b/include/asm-x86_64/desc.h
index 6aefb9c0280..c89b58bebee 100644
--- a/include/asm-x86_64/desc.h
+++ b/include/asm-x86_64/desc.h
@@ -75,6 +75,7 @@ struct desc_ptr {
*/
extern struct desc_struct default_ldt[];
extern struct gate_struct idt_table[];
+extern struct desc_ptr cpu_gdt_descr[];
static inline void _set_gate(void *adr, unsigned type, unsigned long func, unsigned dpl, unsigned ist)
{