[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-id: <Pine.LNX.4.64.0702191409470.32172@montezuma.fsmlabs.com>
Date: Mon, 19 Feb 2007 14:45:28 -0800 (PST)
From: Zwane Mwaikambo <zwane@...radead.org>
To: Prarit Bhargava <prarit@...hat.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Ingo Molnar <mingo@...e.hu>
Subject: Re: [PATCH]: Change sysenter_setup to __cpuinit & improve __INIT,
__INITDATA
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists