From 6ef2348519352a4d7000bb4990c0fa1e58635185 Mon Sep 17 00:00:00 2001 From: zhuyaliang <15132211195@163.com> Date: Tue, 14 Feb 2023 16:50:54 +0800 Subject: Update loongarch architecture processor information The previous LoongArch support added in commit 56e590d was based on the kernel behavior before the official upstream merge. Stable cpuinfo: https://git.kernel.org/torvalds/c/7153c3c --- includes/loongarch64/processor-platform.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'includes') diff --git a/includes/loongarch64/processor-platform.h b/includes/loongarch64/processor-platform.h index c18d4b32..43ba0a26 100644 --- a/includes/loongarch64/processor-platform.h +++ b/includes/loongarch64/processor-platform.h @@ -20,9 +20,12 @@ #define __PROCESSOR_PLATFORM_H__ struct _Processor { - gchar *model_name; gchar *vendor_id; - gfloat bogomips, cpu_mhz; + gchar *family; + gchar *model_name; + gint revision; + gfloat cpu_mhz, bogomips; + gchar *features; }; #endif /* __PROCESSOR_PLATFORM_H__ */ -- cgit v1.2.3