Re: [PATCH]: Change sysenter_setup to __cpuinit & improve __INIT, __INITDATA

2007-02-20 Thread Prarit Bhargava
Zwane Mwaikambo wrote: Shouldn't this be __CPUINT/__CPUINITDATA? That way you could also get rid of things like in x86_64 head.S; #ifndef CONFIG_HOTPLUG_CPU __INITDATA #endif Zwane -- good point. New patch. P. Change sysenter_setup to __cpuinit. Add __CPUINIT &

Re: [PATCH]: Change sysenter_setup to __cpuinit improve __INIT, __INITDATA

2007-02-20 Thread Prarit Bhargava
Zwane Mwaikambo wrote: Shouldn't this be __CPUINT/__CPUINITDATA? That way you could also get rid of things like in x86_64 head.S; #ifndef CONFIG_HOTPLUG_CPU __INITDATA #endif Zwane -- good point. New patch. P. Change sysenter_setup to __cpuinit. Add __CPUINIT

Re: [PATCH]: Change sysenter_setup to __cpuinit & improve __INIT, __INITDATA

2007-02-19 Thread Zwane Mwaikambo
On Mon, 19 Feb 2007, Prarit Bhargava wrote: > /* For assembly routines */ > +#ifdef CONFIG_HOTPLUG_CPU > +#define __INIT .section".text","ax" > +#define __INITDATA .section".data","aw" > +#else > #define __INIT .section".init.text","ax" >

[PATCH]: Change sysenter_setup to __cpuinit & improve __INIT, __INITDATA

2007-02-19 Thread Prarit Bhargava
Change sysenter_setup to __cpuinit. Change __INIT & __INITDATA to be cpu hotplug aware. Resolve MODPOST warnings similar to: WARNING: vmlinux - Section mismatch: reference to .init.text:sysenter_setup from .text between 'identify_cpu' (at offset 0xc040a380) and 'detect_ht' and WARNING:

[PATCH]: Change sysenter_setup to __cpuinit improve __INIT, __INITDATA

2007-02-19 Thread Prarit Bhargava
Change sysenter_setup to __cpuinit. Change __INIT __INITDATA to be cpu hotplug aware. Resolve MODPOST warnings similar to: WARNING: vmlinux - Section mismatch: reference to .init.text:sysenter_setup from .text between 'identify_cpu' (at offset 0xc040a380) and 'detect_ht' and WARNING: vmlinux

Re: [PATCH]: Change sysenter_setup to __cpuinit improve __INIT, __INITDATA

2007-02-19 Thread Zwane Mwaikambo
On Mon, 19 Feb 2007, Prarit Bhargava wrote: /* For assembly routines */ +#ifdef CONFIG_HOTPLUG_CPU +#define __INIT .section.text,ax +#define __INITDATA .section.data,aw +#else #define __INIT .section.init.text,ax -#define __FINIT