aboutsummaryrefslogtreecommitdiff
path: root/arch/sparc64/prom
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-02-07 02:14:48 -0800
committerDavid S. Miller <davem@davemloft.net>2008-02-07 02:58:40 -0800
commitce22e1d39429c7de9f054ce8d03278dd2010b642 (patch)
treeaf47d57927d7b8595d1b252f9bad2535a3c50d5d /arch/sparc64/prom
parent488b5ec871191359b9b79262a3d48456dae7ea5f (diff)
[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>
Diffstat (limited to 'arch/sparc64/prom')
-rw-r--r--arch/sparc64/prom/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sparc64/prom/init.c b/arch/sparc64/prom/init.c
index 1c0db842a6f..87e7c7ea0ee 100644
--- a/arch/sparc64/prom/init.c
+++ b/arch/sparc64/prom/init.c
@@ -48,7 +48,10 @@ void __init prom_init(void *cif_handler, void *cif_stack)
prom_getstring(node, "version", prom_version, sizeof(prom_version));
prom_printf("\n");
+}
+void __init prom_init_report(void)
+{
printk("PROMLIB: Sun IEEE Boot Prom '%s'\n", prom_version);
printk("PROMLIB: Root node compatible: %s\n", prom_root_compatible);
}