Kumar Gala
7888bc2b47
powerpc: Fix for getting CPU number in power_save_ppc32_restore()
...
The calculation to get TI_CPU based off of SPRG3 was just plain wrong,
meaning that we were getting garbage for the CPU number on 6xx/G3/G4
based SMP boxes in this code.
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@freescale.com>
[paulus@samba.org - use rlwinm r12,r11,... instead of
rlwinm r12,r1,...; tophys()]
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-09-03 20:53:47 +10:00
..
2008-07-03 16:58:10 +10:00
2008-07-03 16:58:10 +10:00
2008-09-03 20:53:14 +10:00
2008-07-01 11:28:46 +10:00
2007-05-11 05:38:25 -04:00
2008-05-09 20:22:58 +10:00
2007-10-03 09:11:56 +10:00
2007-05-11 05:38:25 -04:00
2008-04-21 15:00:32 -05:00
2008-08-04 13:18:17 +10:00
2007-04-24 21:31:49 +10:00
2006-10-16 16:32:25 +10:00
2008-07-26 09:02:43 +10:00
2008-08-20 09:50:21 +10:00
2008-06-30 22:31:00 +10:00
2008-07-09 16:30:44 +10:00
2008-07-28 16:30:50 +10:00
2008-07-28 16:30:50 +10:00
2006-06-30 19:25:36 +02:00
2008-07-01 11:28:50 +10:00
2008-06-23 22:10:56 +02:00
2008-03-07 08:42:28 -06:00
2008-08-18 14:22:34 +10:00
2008-06-02 14:56:35 -05:00
2008-07-09 13:36:17 -04:00
2008-07-15 12:29:28 +10:00
2008-07-09 13:36:17 -04:00
2008-07-16 17:57:52 -05:00
2008-08-20 09:50:21 +10:00
2008-09-03 20:53:47 +10:00
2008-09-03 20:53:47 +10:00
2007-05-07 20:31:13 +10:00
2008-07-18 18:10:28 +02:00
2008-05-16 17:22:20 -04:00
2008-05-23 22:43:11 +02:00
2007-09-20 07:36:52 -05:00
2008-07-25 15:44:43 +10:00
2008-08-04 13:18:17 +10:00
2008-05-09 20:22:59 +10:00
2008-07-23 11:30:15 -05:00
2008-07-25 10:53:30 -07:00
2007-10-19 23:21:04 +02:00
2008-07-28 16:30:53 +10:00
2008-08-18 14:22:35 +10:00
2008-08-15 08:35:42 -07:00
2008-07-16 11:07:59 +10:00
2008-07-26 12:00:04 -07:00
2008-09-03 20:53:34 +10:00
2008-08-18 14:22:35 +10:00
2008-07-15 12:29:23 +10:00
2008-06-30 22:31:11 +10:00
2008-07-01 11:28:05 +10:00
2008-07-01 11:28:23 +10:00
2008-08-18 14:22:35 +10:00
2008-05-14 22:31:59 +10:00
2007-08-17 11:01:52 +10:00
2008-05-16 23:22:28 +10:00
2008-07-08 21:06:35 -07:00
2008-04-24 20:58:04 +10:00
2008-01-23 19:32:30 -06:00
2008-06-09 11:32:40 +10:00
2008-01-17 14:57:05 +11:00
2008-08-11 10:09:56 +10:00
2008-02-05 23:34:14 -06:00
2008-07-01 11:28:50 +10:00
2008-07-15 15:44:51 +10:00
2008-04-29 08:06:22 -07:00
2008-08-04 13:18:17 +10:00
2008-06-16 15:00:54 +10:00
2008-07-28 16:30:48 +10:00
2008-07-22 10:39:34 +10:00
2008-07-01 11:28:47 +10:00
2008-07-30 15:26:54 +10:00
2008-07-30 15:26:54 +10:00
2008-07-26 12:00:07 -07:00
2008-05-14 22:31:59 +10:00
2008-05-14 22:31:59 +10:00
2006-06-09 21:21:06 +10:00
2008-08-11 10:09:56 +10:00
2008-07-23 11:30:15 -05:00
2008-07-28 16:30:49 +10:00
2008-07-28 16:30:49 +10:00
2006-05-19 15:02:12 +10:00
2008-07-15 12:29:23 +10:00
2008-07-15 12:29:23 +10:00
2008-07-28 16:30:50 +10:00
2008-07-03 16:58:11 +10:00
2006-12-04 20:42:09 +11:00
2008-07-28 16:30:52 +10:00
2008-07-01 11:28:43 +10:00
2008-07-28 16:30:47 +10:00
2008-07-24 10:47:21 -07:00
2007-11-08 14:15:34 +11:00
2007-05-07 20:31:14 +10:00
2007-05-07 20:31:14 +10:00
2007-05-11 08:29:34 -07:00
2008-08-18 14:22:35 +10:00
2008-07-09 16:30:45 +10:00
2008-07-28 16:30:52 +10:00
2008-01-25 22:52:50 +11:00
2008-01-25 22:52:50 +11:00
2007-10-11 14:36:47 +10:00
2008-06-26 11:24:38 +02:00
2008-07-16 11:07:59 +10:00
2008-07-25 15:44:39 +10:00
2007-12-23 13:13:03 -06:00
2008-04-24 21:08:11 +10:00
2008-08-04 13:18:17 +10:00
2006-06-30 19:25:36 +02:00
2008-08-20 09:50:22 +10:00
2008-09-03 20:53:26 +10:00