On Tue, 11 Jan 2000 12:39:02 +0000 (GMT),
Tigran Aivazian <tigran@sco.COM> wrote:
>have a request_module() function with printf()-like syntax inside
>kmod.c:
>
>int request_module(const char *fmt, ...)
>{
>#ifdef CONFIG_KMOD
> va_list args;
> ....
>#else
> return -1;
>#endif
>}
(1) Use a different name so existing modules that call the old
request_module are not affected. It is legal to compile modules
under one kernel then load them into newer kernels. This is not
always safe but it is a supported option.
(2) Make the new name a macro which becomes a no-op when CONFIG_KMOD is
not defined.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:19 EST