Re: [PATCH] const initdata.

From: Anders Peter Fugmann (afu@fugmann.dhs.org)
Date: Fri Aug 24 2001 - 10:26:29 EST


Ah.. I misread the first posting.

Then we are down to zero .h and 43 .c files that are affected.
(a total of 121 lines containing 'const' before '__initdata')

Can these be fixed without testing (ie. through a script).
If so, I'm willing to post a patch.

Regards
Anders Fugmann

Alan Cox wrote:
>>How "bad" is it to have __initdata declared static?
>>
>
> static is fine as it just changes name scoping, const however can try and
> put data in other places such as code segments. That breaks stuff when
> compiling with certain gcc versions
>
>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Aug 31 2001 - 21:00:10 EST