Make sure CPU ID works for all POWER_10 conditions
This commit is contained in:
parent
22b487b622
commit
ac6b4b7aa4
|
@ -69,7 +69,7 @@ static int cpuid(void)
|
||||||
else if (arch == POWER_9) return CPU_POWER9;
|
else if (arch == POWER_9) return CPU_POWER9;
|
||||||
#endif
|
#endif
|
||||||
#ifdef POWER_10
|
#ifdef POWER_10
|
||||||
else if (arch == POWER_10) return CPU_POWER10;
|
else if (arch >= POWER_10) return CPU_POWER10;
|
||||||
#endif
|
#endif
|
||||||
return CPU_UNKNOWN;
|
return CPU_UNKNOWN;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue