[PATCH v2] powerpc: Fix determining TI_CPU in power_save_ppc32_restore()

Kumar Gala galak at kernel.crashing.org
Fri Aug 29 22:06:57 EST 2008


On Aug 25, 2008, at 11:39 PM, Benjamin Herrenschmidt wrote:

> On Mon, 2008-08-25 at 21:08 -0500, Kumar Gala wrote:
>> The calculation to get TI_CPU based off of SPRG3 was just plain  
>> wrong.
>> Just offset off the stack pointer (to get to thread_info) like all  
>> the
>> other references to TI_CPU do.
>>
>> This was pointed out by Chen Gong <G.Chen at freescale.com>
>>
>> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
>
> Acked-by: Benjamin Herrenschmidt <benh at kernel.crashing.org>

Paul, you picking this up for 2.6.27?

- k



More information about the Linuxppc-dev mailing list