[PATCH] x86_64/paravirt: fix compile errors with IA32_EMULATION off - Kernel

This is a discussion on [PATCH] x86_64/paravirt: fix compile errors with IA32_EMULATION off - Kernel ; Signed-off-by: Jeremy Fitzhardinge --- arch/x86/kernel/paravirt.c | 4 ++++ 1 file changed, 4 insertions(+) ================================================== ================= --- a/arch/x86/kernel/paravirt.c +++ b/arch/x86/kernel/paravirt.c @@ -349,9 +349,13 @@ .write_idt_entry = native_write_idt_entry, .load_sp0 = native_load_sp0, +#if defined(CONFIG_X86_32) || defined(CONFIG_IA32_EMULATION) .irq_enable_sysexit = native_irq_enable_sysexit, +#endif #ifdef CONFIG_X86_64 +#ifdef ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] x86_64/paravirt: fix compile errors with IA32_EMULATION off

  1. [PATCH] x86_64/paravirt: fix compile errors with IA32_EMULATION off

    Signed-off-by: Jeremy Fitzhardinge
    ---
    arch/x86/kernel/paravirt.c | 4 ++++
    1 file changed, 4 insertions(+)

    ================================================== =================
    --- a/arch/x86/kernel/paravirt.c
    +++ b/arch/x86/kernel/paravirt.c
    @@ -349,9 +349,13 @@
    .write_idt_entry = native_write_idt_entry,
    .load_sp0 = native_load_sp0,

    +#if defined(CONFIG_X86_32) || defined(CONFIG_IA32_EMULATION)
    .irq_enable_sysexit = native_irq_enable_sysexit,
    +#endif
    #ifdef CONFIG_X86_64
    +#ifdef CONFIG_IA32_EMULATION
    .usergs_sysret32 = native_usergs_sysret32,
    +#endif
    .usergs_sysret64 = native_usergs_sysret64,
    #endif
    .iret = native_iret,


    --
    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/

  2. Re: [PATCH] x86_64/paravirt: fix compile errors with IA32_EMULATION off


    * Jeremy Fitzhardinge wrote:

    > Signed-off-by: Jeremy Fitzhardinge


    applied to tip/x86/xen-64bit, thanks Jeremy.

    Ingo
    --
    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/

+ Reply to Thread