Browse Source

Have POWER7 return arch=POWER6.

tags/v0.3.25^2
Chip-Kerchner 1 year ago
parent
commit
7dcb2d67f2
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      driver/others/dynamic_power.c

+ 3
- 0
driver/others/dynamic_power.c View File

@@ -52,6 +52,9 @@ static int cpuid(void)
#ifdef POWER_6
if (arch == POWER_6) return CPU_POWER6;
#endif
#ifdef POWER_7
else if (arch == POWER_7) return CPU_POWER6;
#endif
#ifdef POWER_8
else if (arch == POWER_8) return CPU_POWER8;
#endif


Loading…
Cancel
Save