Le Fri, 14 Mar 2008 12:30:53 -0400 (EDT),
"Robert P. J. Day" <[EMAIL PROTECTED]> a écrit :

> yes, i think we've established what's happening.  as long as a module
> parameter is defined with access rights of zero, it can be tagged as
> __initdata.

No, I don't think so. A module parameter can be marked __initdata if
it's only used during initialization of the module (call to the
function specified by module_init()).

So you could imagine a module parameter with access rights != 0, but
used outside of the initialization code. In that case, it should not be
marked __initdata.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Free Embedded Linux Training Materials
on http://free-electrons.com/training
(More than 1500 pages!)

Attachment: signature.asc
Description: PGP signature

Reply via email to