Skip to content

Commit 08ce6b1

Browse files
committed
Add missing CPU ID definitions for old versions of AIX.
1 parent 08e479f commit 08ce6b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

driver/others/dynamic_power.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ char *gotoblas_corename(void) {
4343
#define CPU_POWER9 9
4444
#define CPU_POWER10 10
4545

46+
#ifndef POWER_9
47+
#define POWER_9 0x20000 /* 9 class CPU */
48+
#endif
49+
#ifndef POWER_10
50+
#define POWER_10 0x40000 /* 10 class CPU */
51+
#endif
52+
4653
#ifdef _AIX
4754
#include <sys/systemcfg.h>
4855

0 commit comments

Comments
 (0)