The table of known CPU models ends with an entry that has a version
of 0, not with an entry that has an empty CPU name. Submitted by: Andrew Turner (andrew@fubar.geek.nz)
This commit is contained in:
parent
03dc38a48b
commit
9bc4cd63f3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=166812
@ -130,7 +130,7 @@ cpu_setup(u_int cpuid)
|
||||
min = (pvr >> 0) & 0xf;
|
||||
}
|
||||
|
||||
for (cp = models; cp->name[0] != '\0'; cp++) {
|
||||
for (cp = models; cp->version != 0; cp++) {
|
||||
if (cp->version == vers)
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user