[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

@@ -48,7 +48,7 @@
#define COLOR_RESET "\x1b[m"
enum {
#if defined(ARCH_X86) || defined(ARCH_PPC)
#if defined(ARCH_X86)
ATTRIBUTE_NAME,
#elif ARCH_ARM
ATTRIBUTE_SOC,
@@ -77,7 +77,7 @@ enum {
};
static const char* ATTRIBUTE_FIELDS [] = {
#if defined(ARCH_X86) || defined(ARCH_PPC)
#if defined(ARCH_X86)
"Name:",
#elif ARCH_ARM
"SoC:",
@@ -575,7 +575,6 @@ bool print_cpufetch_ppc(struct cpuInfo* cpu, STYLE s, struct colors* cs) {
char* max_frequency = get_str_freq(cpu->freq);
char* n_cores = get_str_topology(cpu, cpu->topo, false);
char* n_cores_dual = get_str_topology(cpu, cpu->topo, true);
char* cpu_name = get_str_cpu_name(cpu);
char* altivec = get_str_altivec(cpu);
char* l1i = get_str_l1i(cpu->cach);
@@ -584,7 +583,6 @@ bool print_cpufetch_ppc(struct cpuInfo* cpu, STYLE s, struct colors* cs) {
char* l3 = get_str_l3(cpu->cach);
char* pp = get_str_peak_performance(cpu,cpu->topo,get_freq(cpu->freq));
setAttribute(art,ATTRIBUTE_NAME,cpu_name);
/*
if(cpu->hv->present) {
setAttribute(art, ATTRIBUTE_HYPERVISOR, cpu->hv->hv_name);