summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/head.S
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2008-07-29 06:11:13 +0200
committerKyle McMartin <kyle@hera.kernel.org>2008-10-10 18:32:30 +0200
commit089d55289db5d58d938d73b47a415b2b82ee19ac (patch)
tree4d7cdbc5a7dc8fb7fccf0d579f4296197f05f086 /arch/parisc/kernel/head.S
parentparisc: add pdc_coproc_cfg_unlocked and set_firmware_width_unlocked (diff)
downloadlinux-089d55289db5d58d938d73b47a415b2b82ee19ac.tar.xz
linux-089d55289db5d58d938d73b47a415b2b82ee19ac.zip
parisc: hijack jump to start_kernel
Bang in our own start_parisc call, which initializes the PDC width, and turns on the FPU. Previously, if CONFIG_PRINTK_TIME was on, we'd attempt to use the FPU before we had enabled it, resulting in a difficult to diagnose panic. This patch causes init_per_cpu to redundantly set these for cpu0, but this is harmless.
Diffstat (limited to 'arch/parisc/kernel/head.S')
-rw-r--r--arch/parisc/kernel/head.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/parisc/kernel/head.S b/arch/parisc/kernel/head.S
index a84e31e82876..0e3d9f9b9e33 100644
--- a/arch/parisc/kernel/head.S
+++ b/arch/parisc/kernel/head.S
@@ -121,7 +121,7 @@ $pgt_fill_loop:
copy %r0,%r2
/* And the RFI Target address too */
- load32 start_kernel,%r11
+ load32 start_parisc,%r11
/* And the initial task pointer */
load32 init_thread_union,%r6