LLC fix (was 2.5 token ring build fails)

From: Kent Yoder (key@austin.ibm.com)
Date: Tue Oct 15 2002 - 11:27:31 EST


  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/



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:55 EST