Milton Miller
abb17f9c3a
powerpc: Use common cpu_die (fixes SMP+SUSPEND build)
...
Configuring a powerpc 32 bit kernel for both SMP and SUSPEND turns on
CPU_HOTPLUG to enable disable_nonboot_cpus to be called by the common
suspend code. Previously the definition of cpu_die for ppc32 was in
the powermac platform code, causing it to be undefined if that platform
as not selected.
arch/powerpc/kernel/built-in.o: In function 'cpu_idle':
arch/powerpc/kernel/idle.c:98: undefined reference to 'cpu_die'
Move the code from setup_64 to smp.c and rename the power mac
versions to their specific names.
Note that this does not setup the cpu_die pointers in either
smp_ops (request a given cpu die) or ppc_md (make this cpu die),
for other platforms but there are generic versions in smp.c.
Reported-by: Matt Sealey <matt@genesi-usa.com >
Reported-by: Kumar Gala <galak@kernel.crashing.org >
Signed-off-by: Milton Miller <miltonm@bga.com >
Signed-off-by: Anton Vorontsov <avorontsov@mvista.com >
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org >
2010-05-21 17:31:08 +10:00
..
2009-10-27 16:42:40 +11:00
2009-09-21 06:27:08 +02:00
2008-10-07 14:26:18 +11:00
2009-12-18 14:55:43 +11:00
2010-05-17 10:56:20 -05:00
2007-05-11 05:38:25 -04:00
2008-08-20 16:34:57 +10:00
2010-03-30 22:02:32 +09:00
2009-01-08 16:25:10 +11:00
2007-10-03 09:11:56 +10:00
2007-05-11 05:38:25 -04:00
2009-08-20 10:12:27 +10:00
2009-02-14 14:41:29 -05:00
2009-06-15 21:45:30 -05:00
2007-04-24 21:31:49 +10:00
2008-09-15 11:08:35 -07:00
2010-05-05 11:11:56 -04:00
2009-02-23 10:48:56 +11:00
2009-10-30 17:20:55 +11:00
2009-02-23 15:53:03 +11:00
2009-09-24 15:31:43 +10:00
2009-11-24 17:00:24 +11:00
2010-03-30 22:02:32 +09:00
2010-03-05 03:04:08 -06:00
2010-05-05 09:11:10 -04:00
2010-02-09 13:56:24 +11:00
2009-09-24 15:31:41 +10:00
2010-04-07 14:44:38 +10:00
2010-02-09 13:56:07 +11:00
2009-08-20 10:12:27 +10:00
2009-06-20 10:56:46 -07:00
2010-04-07 18:00:34 +10:00
2009-12-12 22:24:31 -07:00
2009-08-20 10:12:27 +10:00
2010-05-05 11:11:56 -04:00
2010-03-09 11:57:10 +11:00
2010-05-05 08:01:52 -04:00
2010-05-17 10:56:16 -05:00
2010-03-30 22:02:32 +09: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
2009-11-18 08:37:40 -08:00
2009-09-21 06:27:08 +02:00
2009-11-04 16:43:12 -07:00
2007-09-20 07:36:52 -05:00
2010-03-19 16:38:16 +11:00
2010-05-06 17:16:14 +10:00
2008-05-09 20:22:59 +10:00
2010-02-17 14:03:16 +11:00
2010-05-05 10:39:13 -04:00
2007-10-19 23:21:04 +02:00
2010-02-05 12:22:34 +01:00
2010-04-07 18:00:29 +10:00
2008-08-15 08:35:42 -07:00
2009-09-21 06:27:08 +02:00
2009-05-15 16:43:41 +10:00
2010-03-05 03:04:08 -06:00
2010-05-05 09:11:10 -04:00
2009-06-09 16:46:25 +10:00
2010-04-03 12:42:00 +02:00
2008-11-20 10:52:53 -08:00
2009-02-23 10:48:56 +11:00
2009-06-12 21:47:05 +09:30
2009-09-21 14:28:04 +02:00
2009-03-25 08:54:29 -07:00
2010-02-09 13:55:05 +11:00
2009-06-26 16:55:35 +10:00
2010-03-30 22:02:32 +09:00
2010-03-09 11:52:52 +11:00
2010-03-30 22:02:32 +09:00
2010-02-09 08:33:00 -07:00
2010-03-30 22:02:32 +09:00
2010-02-09 13:56:23 +11:00
2010-03-30 22:02:32 +09:00
2010-01-28 14:31:20 +01:00
2010-03-05 03:04:08 -06:00
2010-03-11 15:21:27 +01:00
2010-02-19 14:52:33 +11:00
2009-09-21 14:28:04 +02:00
2009-10-28 16:13:02 +11:00
2009-10-28 16:13:02 +11:00
2009-10-28 16:13:02 +11:00
2009-10-28 16:13:02 +11:00
2008-07-01 11:28:50 +10:00
2009-10-28 16:13:02 +11:00
2010-03-01 12:35:52 -03:00
2008-12-23 15:13:28 +11:00
2010-03-30 22:02:32 +09:00
2010-05-05 10:39:13 -04:00
2009-03-11 17:11:33 +11:00
2010-04-28 16:22:33 +10:00
2009-04-20 12:18:43 -06:00
2010-03-09 11:52:52 +11:00
2009-07-12 12:22:34 -07:00
2010-04-07 18:11:43 +10:00
2008-09-15 11:08:38 -07:00
2010-03-30 22:02:32 +09:00
2009-05-21 15:44:23 +10:00
2010-01-15 13:26:17 +11:00
2006-06-09 21:21:06 +10:00
2010-04-07 18:00:48 +10:00
2010-05-21 17:29:39 +10:00
2010-03-19 16:38:16 +11:00
2010-05-21 17:31:08 +10:00
2010-05-06 17:41:59 +10:00
2006-05-19 15:02:12 +10:00
2010-02-17 14:03:17 +11:00
2009-03-27 16:58:24 +11:00
2010-02-17 14:03:17 +11:00
2009-03-27 16:58:24 +11:00
2010-03-30 22:02:32 +09:00
2010-05-21 17:31:08 +10:00
2010-03-30 22:02:32 +09:00
2008-07-28 16:30:47 +10:00
2008-07-24 10:47:21 -07:00
2010-01-15 13:20:07 +11:00
2007-05-07 20:31:14 +10:00
2008-10-07 14:26:20 +11:00
2008-12-21 14:21:15 +11:00
2010-03-30 22:02:32 +09:00
2010-03-12 15:52:32 -08:00
2009-12-09 17:09:33 +11: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
2009-12-04 15:39:55 +01:00
2010-02-17 14:02:49 +11:00
2010-05-05 09:27:22 -04:00
2009-09-21 15:14:54 +02:00
2009-12-12 22:24:31 -07:00
2009-11-09 09:40:54 +01:00
2009-12-09 18:10:12 +11:00
2010-04-07 18:09:15 +10:00
2009-12-15 16:28:34 +10:30