diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:10 -0500 |
commit | 70fd93c9d9e07dd2ea4465df76a0ddd414fd21ac (patch) | |
tree | 7723a464f9fd423606f66ca6730801debdbdb2ff /arch/x86/kernel/x8664_ksyms_64.c | |
parent | 21db5584f955652a6e34afa7d3dbd72dd6c82a89 (diff) |
x86: export cpu_gdt_descr
With paravirualization, hypervisors needs to handle the gdt,
that was right to this point only used at very early
inialization code. Hypervisors (lguest being the current case)
are commonly modules, so make it an export
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Glauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86/kernel/x8664_ksyms_64.c')
-rw-r--r-- | arch/x86/kernel/x8664_ksyms_64.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/kernel/x8664_ksyms_64.c b/arch/x86/kernel/x8664_ksyms_64.c index e28b533674dd..a66e9c1a0537 100644 --- a/arch/x86/kernel/x8664_ksyms_64.c +++ b/arch/x86/kernel/x8664_ksyms_64.c | |||
@@ -8,6 +8,7 @@ | |||
8 | #include <asm/processor.h> | 8 | #include <asm/processor.h> |
9 | #include <asm/uaccess.h> | 9 | #include <asm/uaccess.h> |
10 | #include <asm/pgtable.h> | 10 | #include <asm/pgtable.h> |
11 | #include <asm/desc.h> | ||
11 | 12 | ||
12 | EXPORT_SYMBOL(kernel_thread); | 13 | EXPORT_SYMBOL(kernel_thread); |
13 | 14 | ||
@@ -53,3 +54,8 @@ EXPORT_SYMBOL(init_level4_pgt); | |||
53 | EXPORT_SYMBOL(load_gs_index); | 54 | EXPORT_SYMBOL(load_gs_index); |
54 | 55 | ||
55 | EXPORT_SYMBOL(_proxy_pda); | 56 | EXPORT_SYMBOL(_proxy_pda); |
57 | |||
58 | #ifdef CONFIG_PARAVIRT | ||
59 | /* Virtualized guests may want to use it */ | ||
60 | EXPORT_SYMBOL_GPL(cpu_gdt_descr); | ||
61 | #endif | ||