Re: [PATCH v2] powerpc: Fix determining TI_CPU in power_save_ppc32_restore()
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-08-26 04:39:35
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2008-08-26 04:39:35
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 [off-list ref] Signed-off-by: Kumar Gala <redacted>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>