[v0.98][PPC] Dont display name (it was always unknown anyway)

This commit is contained in:
Dr-Noob
2021-07-31 18:30:31 +02:00
parent 2180fb1c26
commit 18744c69f7
4 changed files with 5 additions and 13 deletions

View File

@@ -32,11 +32,13 @@ int64_t get_freq(struct frequency* freq) {
return freq->max;
}
#if defined(ARCH_X86) || defined(ARCH_PPC)
#ifdef ARCH_X86
char* get_str_cpu_name(struct cpuInfo* cpu) {
return cpu->cpu_name;
}
#endif
#if defined(ARCH_X86) || defined(ARCH_PPC)
char* get_str_sockets(struct topology* topo) {
char* string = malloc(sizeof(char) * 2);
int32_t sanity_ret = snprintf(string, 2, "%d", topo->sockets);