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>
This commit is contained in:

committed by
David S. Miller

parent
8a563f0160
commit
6c6bd8b61d
@@ -328,8 +328,8 @@ static int show_cpuinfo(struct seq_file *m, void *__unused)
|
||||
"CPU0ClkTck\t: %ld\n"
|
||||
#endif
|
||||
,
|
||||
sparc_cpu_type ? sparc_cpu_type : "undetermined",
|
||||
sparc_fpu_type ? sparc_fpu_type : "undetermined",
|
||||
sparc_cpu_type,
|
||||
sparc_fpu_type ,
|
||||
romvec->pv_romvers,
|
||||
prom_rev,
|
||||
romvec->pv_printrev >> 16,
|
||||
|
Reference in New Issue
Block a user