diff options
author | Helge Deller <deller@gmx.de> | 2016-06-03 20:22:31 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2016-06-05 09:45:09 +0300 |
commit | 0032c08833ab7c7861d12eb35da26dce85f3e229 (patch) | |
tree | 5ba1addbdefee1ec09b4a3fcf2e1d2fd6cc9acfe /arch/parisc/kernel/processor.c | |
parent | be24a89700eef61bedaba40f3b05ef07f5806e38 (diff) | |
download | linux-0032c08833ab7c7861d12eb35da26dce85f3e229.tar.xz |
parisc: Fix printk time during boot
Avoid showing invalid printk time stamps during boot.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Diffstat (limited to 'arch/parisc/kernel/processor.c')
-rw-r--r-- | arch/parisc/kernel/processor.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/parisc/kernel/processor.c b/arch/parisc/kernel/processor.c index e81ccf1716e9..5adc339eb7c8 100644 --- a/arch/parisc/kernel/processor.c +++ b/arch/parisc/kernel/processor.c @@ -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_model = coproc_cfg.model; - printk(KERN_INFO "FP[%d] enabled: Rev %ld Model %ld\n", - cpunum, coproc_cfg.revision, coproc_cfg.model); + if (cpunum == 0) + 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) |