Tree sweep to fix up initconst

From: Andi Kleen
Date: Thu Sep 15 2011 - 16:15:21 EST


This is a global tree sweep to fix up initconst section problems.

Any variable const in initdata must be marked __initconst, not initdata.
const __read_mostly is not allowed.

Otherwise the global sections can get a read only marking and in some
circumstances the compiler/and or the linker will detect conflicts.

This patchkit aims to fix it up everywhere.

Also available in git://github.com/andikleen/linux-misc.git const-sections

Note I plan to ask Linus to pull this directly.

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