summaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys-utils/lscpu.h')
-rw-r--r--sys-utils/lscpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-utils/lscpu.h b/sys-utils/lscpu.h
index 36c7e41aa..56c97e2e8 100644
--- a/sys-utils/lscpu.h
+++ b/sys-utils/lscpu.h
@@ -77,6 +77,10 @@ struct polarization_modes {
char *readable;
};
+struct cpu_vulnerability {
+ char *name;
+ char *text;
+};
/* global description */
struct lscpu_desc {
@@ -124,6 +128,9 @@ struct lscpu_desc {
int necaches; /* extra caches (s390) */
struct cpu_cache *ecaches;
+ struct cpu_vulnerability *vuls; /* array of CPU vulnerabilities */
+ int nvuls; /* number of CPU vulnerabilities */
+
/*
* All maps are sequentially indexed (0..ncpuspos), the array index
* does not have match with cpuX number as presented by kernel. You