Commit 0032c088 authored by Helge Deller's avatar Helge Deller

parisc: Fix printk time during boot

Avoid showing invalid printk time stamps during boot.
Signed-off-by: default avatarHelge Deller <deller@gmx.de>
Reviewed-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
parent be24a897
...@@ -324,8 +324,9 @@ int init_per_cpu(int cpunum) ...@@ -324,8 +324,9 @@ int init_per_cpu(int cpunum)
per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision;
per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model;
printk(KERN_INFO "FP[%d] enabled: Rev %ld Model %ld\n", if (cpunum == 0)
cpunum, coproc_cfg.revision, coproc_cfg.model); printk(KERN_INFO "FP[%d] enabled: Rev %ld Model %ld\n",
cpunum, coproc_cfg.revision, coproc_cfg.model);
/* /*
** store status register to stack (hopefully aligned) ** store status register to stack (hopefully aligned)
......
...@@ -309,11 +309,6 @@ void __init time_init(void) ...@@ -309,11 +309,6 @@ void __init time_init(void)
clocks_calc_mult_shift(&cyc2ns_mul, &cyc2ns_shift, current_cr16_khz, clocks_calc_mult_shift(&cyc2ns_mul, &cyc2ns_shift, current_cr16_khz,
NSEC_PER_MSEC, 0); NSEC_PER_MSEC, 0);
#if defined(CONFIG_HAVE_UNSTABLE_SCHED_CLOCK) && defined(CONFIG_64BIT)
/* At bootup only one 64bit CPU is online and cr16 is "stable" */
set_sched_clock_stable();
#endif
start_cpu_itimer(); /* get CPU 0 started */ start_cpu_itimer(); /* get CPU 0 started */
/* register at clocksource framework */ /* register at clocksource framework */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment