Browse Source

Add missing CPU ID definitions for old versions of AIX.

tags/v0.3.27
Chip Kerchner 1 year ago
parent
commit
08ce6b1c1c
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      driver/others/dynamic_power.c

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

@@ -43,6 +43,13 @@ char *gotoblas_corename(void) {
#define CPU_POWER9 9
#define CPU_POWER10 10

#ifndef POWER_9
#define POWER_9 0x20000 /* 9 class CPU */
#endif
#ifndef POWER_10
#define POWER_10 0x40000 /* 10 class CPU */
#endif

#ifdef _AIX
#include <sys/systemcfg.h>



Loading…
Cancel
Save