Re: [PATCH v2] powerpc: Fix determining TI_CPU in power_save_ppc32_restore()
From: Kumar Gala <hidden>
Date: 2008-08-29 12:07:02
From: Kumar Gala <hidden>
Date: 2008-08-29 12:07:02
On Aug 25, 2008, at 11:39 PM, Benjamin Herrenschmidt wrote:
On Mon, 2008-08-25 at 21:08 -0500, Kumar Gala wrote:quoted
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 [off-list ref] Signed-off-by: Kumar Gala <redacted>Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Paul, you picking this up for 2.6.27? - k