Wrong /proc/cpuinfo on SGI Indy
Hi,
broken /proc/cpuinfo with current cvs:
flo@revamp:~$ cat /proc/cpuinfo system type : SGI IndyIndy processor : 0 cpu model : R4600 V2.0 FPU V2.0 BogoMIPS : 132.71 wait instruction : yes microsecond timers : yes extra interrupt vector : no hardware watchpoint : no VCED exceptions : not available VCEI exceptions : not available
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium
PATCH 1/1 add space and change to IP22 in arc/identify.c Was: Wrong /proc/cpuinfo on SGI Indy
Quoted 14 lines · Florian Lohoff
Hi,
broken/proc/cpuinfowith current cvs:flo@revamp:~$ cat /proc/cpuinfo system type : SGI IndyIndy processor : 0 cpu model : R4600 V2.0 FPU V2.0 BogoMIPS : 132.71 wait instruction : yes microsecond timers : yes extra interrupt vector : no hardware watchpoint : no VCED exceptions : not available VCEI exceptions : not available
Ok - I would suggest putting in this patch - It solves the issue that the System type is "SGI IP22" and the subtype is "Indy", "Indigo2" or "Challenge S" which would also need a space.
Index: arch/mips/arc/identify.c
===================================================================
RCS file: /cvs/linux/arch/mips/arc/identify.c,v
retrieving revision 1.5.2.1
mips/arc/identify.c +1 -1
@@ -26,7 +26,7 @@static struct smatch mach_table[] = { {"SGI-IP22" , -"SGI Indy" , +"SGI IP22 " ,MACH_GROUP_SGI ,MACH_SGI_INDY ,PROM_FLAG_ARCS
Flo
Signature · 2 lines
Florian Lohoff [email protected] +49-5201-669912 Nine nineth on september the 9th Welcome to the new billenium