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

From: Zwane Mwaikambo
Date: Mon Feb 19 2007 - 17:46:56 EST


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 .previous
> #define __INITDATA .section ".init.data","aw"
> +#endif
> +#define __FINIT .previous
>
> #ifndef __ASSEMBLY__

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
-
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/