Re: [PATCH] [35/50] i386: Do cpuid_device_create() inCPU_UP_PREPARE instead of CPU_ONLINE.

From: Thomas Gleixner
Date: Sun Sep 23 2007 - 03:55:15 EST


On Sun, 2007-09-23 at 10:52 +0900, Akinobu Mita wrote:
> > > arch/i386/kernel/cpuid.c | 32 +++++++++++++++++++-------------
> > > 1 file changed, 19 insertions(+), 13 deletions(-)
> > >
> > > Index: linux/arch/i386/kernel/cpuid.c
> > > ===================================================================
> > > --- linux.orig/arch/i386/kernel/cpuid.c
> > > +++ linux/arch/i386/kernel/cpuid.c
> > > @@ -136,15 +136,18 @@ static const struct file_operations cpui
> > > .open = cpuid_open,
> > > };
> > >
> > > -static int __cpuinit cpuid_device_create(int i)
> > > +static int cpuid_device_create(int cpu)
> >
> > __cpuinit please
> >
>
> Yes. This eliminates earlier patch in this series.
> ([22/50] i386: Misc cpuinit annotation)

No, it's even worse:

#22 is applied before #35.
#35 is reverting the __cpuinit anotation of #22 with its modificiations
of cpuid_device_create()

tglx


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