Skip to content

Commit 7b1f9be

Browse files
authored
clean up duplicate assignment of cpus newer than POWER10
1 parent e2f9f57 commit 7b1f9be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/dynamic_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static int cpuid(void)
6969
else if (arch == POWER_9) return CPU_POWER9;
7070
#endif
7171
#ifdef POWER_10
72-
else if (arch >= POWER_10) return CPU_POWER10;
72+
else if (arch == POWER_10) return CPU_POWER10;
7373
#endif
7474
#ifdef POWER_11
7575
else if (arch >= POWER_11) return CPU_POWER10;

0 commit comments

Comments
 (0)