[SPARC64]: Fix booting on non-zero cpu.
authorDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2008 10:14:48 +0000 (02:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Feb 2008 10:58:40 +0000 (02:58 -0800)
commitce22e1d39429c7de9f054ce8d03278dd2010b642
treeaf47d57927d7b8595d1b252f9bad2535a3c50d5d
parent488b5ec871191359b9b79262a3d48456dae7ea5f
[SPARC64]: Fix booting on non-zero cpu.

The early per-cpu handling needs a slight tweak to work when booting
on a non-zero cpu.

We got away with this for a long time, but can't any longer as now
even printk() calls functions (cpu_clock() for example) that thus make
early references to per-cpu variables.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/head.S
arch/sparc64/prom/init.c