lkml.org 
[lkml]   [2008]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 1/5] xen: clean up label
    In enlighten.c there's a macro that is defined to jump to a label.
    This macro is only used in an ifdef CONFIG_X86_32 section, and the
    label is outside that define conditional, which causes warnings.

    This patch pushes the label inside the define condition.

    CC: Jeremy Fitzhardinge <jeremy@xensource.com>
    CC: Chris Wright <chrisw@sous-sol.org>
    Signed-off-by: Steven Rostedt <srostedt@redhat.com>
    ---
    arch/x86/xen/enlighten.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    Index: linux-compile.git/arch/x86/xen/enlighten.c
    ===================================================================
    --- linux-compile.git.orig/arch/x86/xen/enlighten.c 2008-09-12 09:18:55.000000000 -0400
    +++ linux-compile.git/arch/x86/xen/enlighten.c 2008-10-02 09:38:16.000000000 -0400
    @@ -1082,10 +1082,10 @@ static unsigned xen_patch(u8 type, u16 c
    SITE(pv_irq_ops, irq_disable);
    SITE(pv_irq_ops, save_fl);
    SITE(pv_irq_ops, restore_fl);
    -#endif /* CONFIG_X86_32 */
    -#undef SITE

    patch_site:
    +#endif /* CONFIG_X86_32 */
    +#undef SITE
    if (start == NULL || (end-start) > len)
    goto default_patch;

    --


    \
     
     \ /
      Last update: 2008-10-02 17:15    [W:0.020 / U:1.780 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site