Re: [PATCH] Module loader preparation

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Thu Oct 17 2002 - 20:39:04 EST


In message <20021017143308.A24271@infradead.org> you write:
> I don't think requiring a init func is a good idea. Please fix
> your module loader to generate a stub if no module_init() is
> present instead.

But where do you generate the module name (a module now knows its own
name, in the .modulename section)? We could do an extra step in the
module build where we generate this and link it in, bit given that
we're talking about a handful of trivial modules, I don't think it's
worth it.

> init_module() sounds like a good idea to me, though.

Rusty.

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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 : Wed Oct 23 2002 - 22:00:39 EST