lkml.org 
[lkml]   [2002]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectLLC fix (was 2.5 token ring build fails)

    When building in TR support, LLC must also be included in the kernel, not
    as a module. LLC only builds correctly as a module however, due to
    llc_proc_exit (__exit code) being called from llc_init in llc_main.c. The
    following patch fixes this.

    Please apply...

    Thanks,
    Kent

    diff -urN linux-2.5.export/net/llc/llc_proc.c
    linux-2.5.key/net/llc/llc_proc.c
    --- linux-2.5.export/net/llc/llc_proc.c 2002-10-14 14:40:30.000000000 -0500
    +++ linux-2.5.key/net/llc/llc_proc.c 2002-10-15 10:56:37.000000000 -0500
    @@ -258,7 +258,7 @@
    goto out;
    }

    -void __exit llc_proc_exit(void)
    +void llc_proc_exit(void)
    {
    remove_proc_entry("socket", llc_proc_dir);
    remove_proc_entry("core", llc_proc_dir);
    @@ -270,7 +270,7 @@
    return 0;
    }

    -void __exit llc_proc_exit(void)
    +void llc_proc_exit(void)
    {
    }
    #endif /* CONFIG_PROC_FS */

    -
    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: 2005-03-22 13:30    [W:0.030 / U:31.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site