[PATCH] Add idle power save for ppc 4xx

Josh Boyer jwboyer at gmail.com
Tue Apr 1 06:11:14 EST 2008


On Mon, 2008-03-31 at 13:23 -0500, Jerone Young wrote:
> > > diff --git a/arch/powerpc/kernel/idle_4xx.c b/arch/powerpc/kernel/idle_4xx.c
> > > new file mode 100644
> > > --- /dev/null
> > > +++ b/arch/powerpc/kernel/idle_4xx.c
> > 
> > Can this be added to sysdev/ppc4xx_soc.c instead?
> 
> Probably. Though the other platforms have there power_save code in
> idle_<platform>.S files, as they are in assembly.

No, just two of them do.  Cell, pseries, and pasemi all have them under
the platform directory.

> Also I don't appear to have ppc4xx_soc.c in my source (using
> 2.6.25-rc6).

You're working against a very old tree, relatively speaking.  Use either
my for-2.6.26 branch in my git tree, or the linux-next tree.

josh




More information about the Linuxppc-dev mailing list