Re: [PATCH] mdacon.c cleanup

From: Pavel Rabel (pavel@web.sajt.cz)
Date: Tue Dec 12 2000 - 17:34:45 EST


On Tue, 12 Dec 2000, David Woodhouse wrote:

> pavel@web.sajt.cz said:
> > Both MODULE_PARM and __init are removed by precompiler when not
> > compiler as module, so no need for ifdefs. 2.4.0-test12pre8
>
> -#ifdef MODULE_PARM
> MODULE_PARM(mda_first_vc, "1-255i");
> MODULE_PARM(mda_last_vc, "1-255i");
> -#endif
>
> That was #ifdef MODULE_PARM not #ifdef MODULE. Probably there for
> compatibility with older kernels. Although I'm not sure it's even required
> in 2.2.

MODULE_PARM is removed by precompiler, in both 2.2 and 2.4. For sure.
 
Pavel

-
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 : Fri Dec 15 2000 - 21:00:25 EST