Messages in this thread | | | Date | Wed, 19 Apr 2006 12:01:45 +0200 (CEST) | From | Roman Zippel <> | Subject | Re: [PATCH] -mm: acpi idle __read_mostly and de-init static var |
| |
Hi,
On Tue, 18 Apr 2006, Andrew Morton wrote:
> Andreas Mohr <andi@rhlx01.fht-esslingen.de> wrote: > > > > - don't remove static init value of nocst and bm_history > > since __read_mostly may be special > > (see e.g. http://www.ussg.iu.edu/hypermail/linux/kernel/0010.0/0771.html) > > > > hm, that was six years ago. I'm vaguely surprised that the initialisation > was needed even then. It isn't needed now. Or if it is, we need to find > out why and fix it.
I guess 2.7.2 was still a valid compiler then. :) All later versions don't behave like this, although it's still documented like this: http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html
bye, Roman - 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/
| |