Browse Source

Merge pull request #4490 from ChipKerchner/missingCPUIDsForAIX

Add missing CPU ID definitions for old versions of AIX.
tags/v0.3.27
Martin Kroeker GitHub 2 years ago
parent
commit
818bf30628
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
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