Re: [PATCH 1/4] introduce __cpuinitconst

2008-01-14 Thread Jan Beulich
>> --- 2.6.24-rc7-initconst.orig/include/linux/init.h >> +++ 2.6.24-rc7-initconst/include/linux/init.h >> @@ -269,11 +269,13 @@ void __init parse_early_param(void); >> #ifdef CONFIG_HOTPLUG_CPU >> #define __cpuinit >> #define __cpuinitdata >> +#define __cpuinitconst const >> #define __cpuexit >

Re: [PATCH 1/4] introduce __cpuinitconst

2008-01-11 Thread Adrian Bunk
On Fri, Jan 11, 2008 at 08:56:16AM +, Jan Beulich wrote: > The patch doesn't change all instances where 'const' could have been > added as a result of the base structure changes, only where the change > has a real effect (the module loader doesn't enforce read-only section > attributes at prese

[PATCH 1/4] introduce __cpuinitconst

2008-01-11 Thread Jan Beulich
The patch doesn't change all instances where 'const' could have been added as a result of the base structure changes, only where the change has a real effect (the module loader doesn't enforce read-only section attributes at present, so only built-in files make a real difference). Signed-off-by: J