diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-12-05 22:08:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 22:08:22 -0500 |
commit | 6c6bd8b61d0c8ead18caaafb3490552565efbb64 (patch) | |
tree | 508586a66bee67011c2e5302f01ec753870856cb /arch/sparc/kernel/setup_32.c | |
parent | 8a563f016049bcdc9b0de0c8622afcf04b860e5e (diff) |
sparc: report "Unknown CPU/FPU" for unknown cpu/fpu
If we cannot determine the CPU or FPU report
"Unknown CPU" or "Unknown FPU" like sparc64 does.
And report with KERN_ERR that we cannot determine the CPU.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/setup_32.c')
-rw-r--r-- | arch/sparc/kernel/setup_32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c index 24fe3078bd4b..d21abbe26360 100644 --- a/arch/sparc/kernel/setup_32.c +++ b/arch/sparc/kernel/setup_32.c | |||
@@ -328,8 +328,8 @@ static int show_cpuinfo(struct seq_file *m, void *__unused) | |||
328 | "CPU0ClkTck\t: %ld\n" | 328 | "CPU0ClkTck\t: %ld\n" |
329 | #endif | 329 | #endif |
330 | , | 330 | , |
331 | sparc_cpu_type ? sparc_cpu_type : "undetermined", | 331 | sparc_cpu_type, |
332 | sparc_fpu_type ? sparc_fpu_type : "undetermined", | 332 | sparc_fpu_type , |
333 | romvec->pv_romvers, | 333 | romvec->pv_romvers, |
334 | prom_rev, | 334 | prom_rev, |
335 | romvec->pv_printrev >> 16, | 335 | romvec->pv_printrev >> 16, |