Re: 2.6.17-mm2

Rafael J. Wysocki
2006-06-25T19:19:08Z

On Sunday 25 June 2006 12:22, Andrew Morton wrote:
> On Sun, 25 Jun 2006 10:51:55 +0200
> "Rafael J. Wysocki" <rjw@sisk.pl> wrote:
>
> > > >
> > >
> > > My guess would be that cpufreq_register_driver() is being called after it
> > > has been unloaded from the kernel.
> > >
> > > Do you have CONFIG_CPU_FREQ=y?
> >
> > Yes.
> >
> > > Does removal of the __cpuinit from cpufreq_register_driver() fix it (or
> > > move the crash elsewhere)?
> >
> > Yes (makes it go away).
>
> Well it would appear that the new __cpuinit on cpufreq_register_driver() is
> causing the problem, although I'm surprised that you don't have
> CONFIG_HOTPLUG_CPU set, if it's a swsusp requirement??

It's only required if CONFIG_SMP is set. ;-)

Greetings,
Rafael