![]() | |||||||||||||
Messages in this thread |
Ivan Kokshaysky wrote: > On alpha, ia64 and ppc64 only relocations to local data can go into > read-only sections. The vast majority of module parameters use the global > generic param_set_*/param_get_* functions, so the 'const' attribute for > struct kernel_param is not only useless, but it also causes compile > failures due to 'section type conflict' in those rare cases where > param_set/get are local functions.> > This fixes http://bugzilla.kernel.org/show_bug.cgi?id=8964 In case you weren't aware already, people seem to think this is actually a GCC bug (with a patch available): http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31490 Daniel | ||||||||||||
| Last update: 2008-02-09 17:53 [from the cache] ©2003-2008 | |||||||||||||