parisc: hijack jump to start_kernel
authorKyle McMartin <kyle@mcmartin.ca>
Tue, 29 Jul 2008 04:11:13 +0000 (00:11 -0400)
committerKyle McMartin <kyle@hera.kernel.org>
Fri, 10 Oct 2008 16:32:30 +0000 (16:32 +0000)
commit089d55289db5d58d938d73b47a415b2b82ee19ac
tree4d7cdbc5a7dc8fb7fccf0d579f4296197f05f086
parent24b574d052a1996bac42fbd56715ab602092c291
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.
arch/parisc/kernel/head.S
arch/parisc/kernel/setup.c