Daniel Hellstrom 5fcafb7a23 sparc32: always define boot_cpu_id
Define boot_cpu_id in single-processor kernels as well. This is
to support architectures which can boot on other than CPU0.

Sam Ravnborg has written the cleanup parts by extracting
boot_cpu_id from smp_32.c into setup_32.c and cleaned up
sun4d_irq.c.

boot_cpu_id was initialized before BSS was cleared in
sun4c_continue_boot, instead boot_cpu_id is set to 0xff to
avoid BSS. If boot_cpu_id is untouched (0xff) by bootup code
it will be overwritten to 0. boot_cpu_id4 is automatically
calculated in common code.

Signed-off-by: Daniel Hellstrom <daniel@gaisler.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-04-21 16:44:44 -07:00
..
2008-12-04 09:17:15 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2009-08-10 09:35:00 +02:00
2011-03-30 17:37:56 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-03-16 18:19:03 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-04-21 16:44:44 -07:00
2011-03-31 11:26:23 -03:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-03-31 11:26:23 -03:00
2008-12-04 09:17:21 -08:00
2011-04-19 22:11:40 -07:00
2011-03-29 14:48:14 +02:00
2011-04-19 22:11:40 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2010-09-22 16:35:09 -04:00
2011-03-16 18:19:15 -07:00
2011-04-19 22:11:40 -07:00
2011-03-30 17:37:56 -07:00
2008-12-04 09:17:21 -08:00
2011-03-31 11:26:23 -03:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-03-29 14:48:14 +02:00
2011-04-19 22:11:40 -07:00
2011-03-16 18:19:15 -07:00
2011-03-30 17:37:56 -07:00
2008-12-04 09:17:21 -08:00
2011-04-21 16:44:44 -07:00
2011-04-21 16:44:44 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-04-19 22:11:40 -07:00
2011-04-21 16:44:44 -07:00
2011-04-19 22:11:40 -07:00
2008-12-04 09:17:21 -08:00
2008-12-04 09:17:21 -08:00
2011-04-19 22:11:39 -07:00
2008-12-04 09:17:21 -08:00
2009-07-12 12:22:34 -07:00
2008-12-04 09:17:21 -08:00
2009-01-06 12:46:46 -08:00
2008-12-04 09:17:21 -08:00
2008-07-17 21:37:46 -07:00
2008-07-17 21:37:46 -07:00