lkml.org 
[lkml]   [2003]   [Jun]   [24]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 24 Jun 2003 19:01:25 +0200 (CEST)
FromRoman Zippel <>
SubjectRe: [PATCH 3/3] Allow arbitrary number of init funcs in modules
Hi,

On Mon, 23 Jun 2003, Rusty Russell wrote:

> D: One longstanding complaint is that modules can only have one
> D: module_init, and one module_exit (builtin code can have multiple
> D: __initcall however).  This means, for example, that it is not
> D: possible to write a "module_proc_entry(name, readfn)" function
> D: which can be used like so:
> D: 
> D:   module_init(myinitfn);
> D:   module_cleanup(myinitfn);
> D:   module_proc_entry("some/path/foo", read_foo);

What happens if a module is compiled into the kernel and one of the init 
functions fails?

bye, Roman

-
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 12:36    [from the cache]
©2003-2008