Re: [PATCH x86] [15/16] Force __cpuinit on for CONFIG_PM withoutHOTPLUG_CPU

From: Adrian Bunk
Date: Mon Jan 14 2008 - 15:19:44 EST


On Mon, Jan 14, 2008 at 09:01:26PM +0100, Sam Ravnborg wrote:
> On Mon, Jan 14, 2008 at 09:52:58PM +0200, Adrian Bunk wrote:
> > On Mon, Jan 14, 2008 at 08:10:09PM +0100, Ingo Molnar wrote:
> > >
> > > * Adrian Bunk <bunk@xxxxxxxxxx> wrote:
> > >
> > > > > for example, in current -git, could you tell me why this triggers:
> > > > >
> > > > > WARNING: vmlinux.o(.text+0x87e2a): Section mismatch: reference to
> > > > > .init.text: (between 'process_zones' and 'setup_per_cpu_pageset')
> > > > >
> > > > > and how to resolve it? I had a quick look and it was not obvious to me.
> > > >
> > > > Please send the .config.
> > >
> > > 'make allyesconfig' and disable CONFIG_HOTPLUG=y.
> >
> > Works for me without the warning.
> >
> > Wait, I remember something @#$%#@$!!!:
> > 'make allyesconfig' on x86 became ambiguously.
> >
> > If you have by chance a 64bit CPU that would explain why I didn't get it.
> >
> > @Sam:
> > Can you fix the bug that menuconfig does not let me enable CONFIG_64BIT?
>
> make ARCH=x86_64 allyesconfig
> will set CONFIG_64BIT for you - no?

Yes.

But this still leaves the fact that when someone says 'allyesconfig'
it's no longer clear which configuration he has. And no, I do not
consider it funny that this now implies two hours of compilation twice
just for seeing one bug.

And the fact that I have to set ARCH only for seeing the 32/64bit
Kconfig choice is clearly bullshit.

> Sam

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

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