[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47ADD9E9.8090908@gentoo.org>
Date: Sat, 09 Feb 2008 16:50:49 +0000
From: Daniel Drake <dsd@...too.org>
To: Ivan Kokshaysky <ink@...assic.park.msu.ru>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Richard Henderson <rth@...ddle.net>, tony.luck@...el.com,
anton@...ba.org, paulus@...ba.org, Adrian Bunk <bunk@...nel.org>,
Kamalesh Babulal <kamalesh@...ux.vnet.ibm.com>,
rusty@...tcorp.com.au, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] moduleparam: fix alpha, ia64 and ppc64 compile failures
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists