x86: move x86_64 gdt closer to i386
authorGlauber Costa <gcosta@redhat.com>
Wed, 28 May 2008 23:19:53 +0000 (16:19 -0700)
committerIngo Molnar <mingo@elte.hu>
Tue, 8 Jul 2008 10:48:16 +0000 (12:48 +0200)
commita939098afcfa5f81d3474782ec15c6d114e57763
tree62c21fb10d6b58dc8247c34e68ab5562e045b8d0
parent736f12bff9d9e7b4e895c64f73b190c8383fc2a1
x86: move x86_64 gdt closer to i386

i386 and x86_64 used two different schemes for maintaining the gdt.
With this patch, x86_64 initial gdt table is defined in a .c file,
same way as i386 is now. Also, we call it "gdt_page", and the descriptor,
"early_gdt_descr". This way we achieve common naming, which can allow for
more code integration.

Signed-off-by: Glauber Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/head_64.S
arch/x86/kernel/setup64.c
arch/x86/kernel/setup_64.c
arch/x86/kernel/smpboot.c
arch/x86/kernel/x8664_ksyms_64.c
include/asm-x86/desc.h
include/asm-x86/segment.h