[patch] kernel/module.c (plus gratuitous rant)

From: Andrew Morton (andrewm@uow.edu.au)
Date: Tue Oct 24 2000 - 07:39:42 EST


Linus,

if the person who sent you the -pre4 patch against module.c
had Cc:'ed this mailing list then your kernel would do
something useful when compiled with gcc-2.7.2.3.

But he didn't so it doesn't.

Here is the fix:

--- linux-2.4.0-test10-pre5/kernel/module.c Tue Oct 24 21:34:13 2000
+++ linux-akpm/kernel/module.c Tue Oct 24 23:17:55 2000
@@ -29,7 +29,9 @@
 static struct module kernel_module =
 {
         size_of_struct: sizeof(struct module),
+ next: NULL,
         name: "",
+ size: 0,
         uc: {ATOMIC_INIT(1)},
         flags: MOD_RUNNING,
         syms: __start___ksymtab,

And here is the long-term fix:

:0:
* ^Subject:.*patch
* !.*vger.kernel.org
/dev/null

Regards,
grumpy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Oct 31 2000 - 21:00:13 EST