lkml.org 
[lkml]   [2011]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectTree sweep to fix up initconst
Date
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


\
 
 \ /
  Last update: 2011-09-15 22:17    [W:0.204 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site