| From | Andi Kleen <> | Subject | Tree sweep to fix up initconst | Date | Thu, 15 Sep 2011 13:09:27 -0700 |
| |
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
|