Browse Source

Refs #220. Support Power7 by old Power6 kernels.

tags/v0.2.7
Zhang Xianyi 12 years ago
parent
commit
109500178c
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      cpuid_power.c

+ 1
- 0
cpuid_power.c View File

@@ -114,6 +114,7 @@ int detect(void){
if (!strncasecmp(p, "PPC970", 6)) return CPUTYPE_PPC970;
if (!strncasecmp(p, "POWER5", 6)) return CPUTYPE_POWER5;
if (!strncasecmp(p, "POWER6", 6)) return CPUTYPE_POWER6;
if (!strncasecmp(p, "POWER7", 6)) return CPUTYPE_POWER6;
if (!strncasecmp(p, "Cell", 4)) return CPUTYPE_CELL;
if (!strncasecmp(p, "7447", 4)) return CPUTYPE_PPCG4;



Loading…
Cancel
Save