Re: [PATCH] Add idle power save for ppc 4xx
From: Josh Boyer <hidden>
Date: 2008-03-31 19:11:24
From: Josh Boyer <hidden>
Date: 2008-03-31 19:11:24
On Mon, 2008-03-31 at 13:23 -0500, Jerone Young wrote:
quoted
quoted
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.cCan 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