Browse Source

Fix default case for cpu_is.

tags/v0.3.25^2
Chip-Kerchner 2 years ago
parent
commit
09212f84bf
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      driver/others/dynamic_power.c

+ 1
- 2
driver/others/dynamic_power.c View File

@@ -248,9 +248,8 @@ static int __builtin_cpu_is(char *arg)
if (!strcmp(arg, "power8")) return 1;
} else if (ipinfo == CPU_POWER6) {
if (!strcmp(arg, "power6")) return 1;
} else {
return 0;
}
return 0;
}
#endif
#endif /* _AIX */


Loading…
Cancel
Save