Re: __initdata query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le Fri, 14 Mar 2008 12:30:53 -0400 (EDT),
"Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx> 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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux