lkml.org 
[lkml]   [2006]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.6.17-mm5
    The following patch is needed to fix UML compilation in -mm5 given
    that alternatives_smp_module_add and alternatives_smp_module_del are
    null inline functions if !CONFIG_SMP.

    Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

    Index: linux-2.6.17-mm5/arch/um/kernel/um_arch.c
    ===================================================================
    --- linux-2.6.17-mm5.orig/arch/um/kernel/um_arch.c 2006-07-02 20:37:17.000000000 -0400
    +++ linux-2.6.17-mm5/arch/um/kernel/um_arch.c 2006-07-02 20:38:08.000000000 -0400
    @@ -495,6 +495,7 @@
    {
    }

    +#ifdef CONFIG_SMP
    void alternatives_smp_module_add(struct module *mod, char *name,
    void *locks, void *locks_end,
    void *text, void *text_end)
    @@ -504,3 +505,4 @@
    void alternatives_smp_module_del(struct module *mod)
    {
    }
    +#endif
    -
    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: 2006-07-03 02:50    [W:0.020 / U:33.408 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site