Re: const vs __{dev}initdata

2007-10-24 Thread Geert Uytterhoeven
On Tue, 23 Oct 2007, Jeff Garzik wrote: > Bartlomiej Zolnierkiewicz wrote: > > It seems that const cannot be (officialy) mixed with __{dev}initdata, > > > > include/linux/init.h: > > ... > > * > > * Also note, that this data cannot be "const". > > */ > > ... > > > > [ BTW Greg: this doesn't se

Re: const vs __{dev}initdata

2007-10-23 Thread Greg KH
On Tue, Oct 23, 2007 at 11:35:56PM +0200, Bartlomiej Zolnierkiewicz wrote: > > [ BTW Greg: this doesn't seem to be mentioned in LDD3. ] _lots_ of things aren't mentioned in LDD3, and it's quite out of date now, and we really don't have a plan to update it anytime soon :( thanks, greg k-h - To u

Re: const vs __{dev}initdata

2007-10-23 Thread Jeff Garzik
Bartlomiej Zolnierkiewicz wrote: Hi, It seems that const cannot be (officialy) mixed with __{dev}initdata, include/linux/init.h: ... * * Also note, that this data cannot be "const". */ ... [ BTW Greg: this doesn't seem to be mentioned in LDD3. ] Any reason for this limitation (other than n

const vs __{dev}initdata

2007-10-23 Thread Bartlomiej Zolnierkiewicz
Hi, It seems that const cannot be (officialy) mixed with __{dev}initdata, include/linux/init.h: ... * * Also note, that this data cannot be "const". */ ... [ BTW Greg: this doesn't seem to be mentioned in LDD3. ] Any reason for this limitation (other than not having .init.rodata section and