lkml.org 
[lkml]   [2007]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 21/25] [PATCH] export cpu_gdt_descr
    Date
    With paravirualization, hypervisors needs to handle the gdt,
    that was right to this point only used at very early
    inialization code. Hypervisors 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>
    ---
    arch/x86_64/kernel/x8664_ksyms.c | 6 ++++++
    1 files changed, 6 insertions(+), 0 deletions(-)

    diff --git a/arch/x86_64/kernel/x8664_ksyms.c b/arch/x86_64/kernel/x8664_ksyms.c
    index 77c25b3..8f10698 100644
    --- a/arch/x86_64/kernel/x8664_ksyms.c
    +++ b/arch/x86_64/kernel/x8664_ksyms.c
    @@ -60,3 +60,9 @@ EXPORT_SYMBOL(init_level4_pgt);
    EXPORT_SYMBOL(load_gs_index);

    EXPORT_SYMBOL(_proxy_pda);
    +
    +#ifdef CONFIG_PARAVIRT
    +extern unsigned long *cpu_gdt_descr;
    +/* Virtualized guests may want to use it */
    +EXPORT_SYMBOL(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 majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2007-08-08 09:17    [W:0.020 / U:1.912 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site