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 <[email protected]> Signed-off-by: Steven Rostedt <[email protected]> Acked-by: Jeremy Fitzhardinge <[email protected]> --- 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 77c25b3..a005d67 100644 --- a/arch/x86/kernel/x8664_ksyms_64.c +++ b/arch/x86/kernel/x8664_ksyms_64.c @@ -8,6 +8,7 @@ #include <asm/processor.h> #include <asm/uaccess.h> #include <asm/pgtable.h> +#include <asm/desc.h> EXPORT_SYMBOL(kernel_thread); @@ -60,3 +61,8 @@ EXPORT_SYMBOL(init_level4_pgt); EXPORT_SYMBOL(load_gs_index); EXPORT_SYMBOL(_proxy_pda); + +#ifdef CONFIG_PARAVIRT +/* Virtualized guests may want to use it */ +EXPORT_SYMBOL_GPL(cpu_gdt_descr); +#endif -- 1.4.4.2 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 11/16] turn priviled operation into a macro in head_64.S
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 11/16] turn priviled operation into a macro in head_64.S
- References:
- [PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops work part
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 1/16] Wipe out traditional opt from x86_64 Makefile
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 2/16] paravirt hooks at entry functions.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 3/16] read/write_crX, clts and wbinvd for 64-bit paravirt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 4/16] provide native irq initialization function
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 5/16] report ring kernel is running without paravirt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 6/16] export math_state_restore
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 7/16] native versions for set pagetables
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 8/16] add native functions for descriptors handling
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 9/16] This patch add provisions for time related functions so they
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 0/7] (Re-)introducing pvops for x86_64 - Real pvops work part
- Prev by Date: [PATCH 8/16] add native functions for descriptors handling
- Next by Date: [2.6 patch] the scheduled I2C RTC driver removal
- Previous by thread: [PATCH 9/16] This patch add provisions for time related functions so they
- Next by thread: [PATCH 11/16] turn priviled operation into a macro in head_64.S
- Index(es):