aboutsummaryrefslogtreecommitdiffstats
path: root/sys-utils/lscpu-api.h
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2020-08-14 12:13:38 +0200
committerKarel Zak <kzak@redhat.com>2020-11-13 09:19:02 +0100
commit8c587fad9f9d19758b7ade69ef25e63d99cdba16 (patch)
treef6d3350d6d9da36d1977de1f61598cefbfbfa4dc /sys-utils/lscpu-api.h
parent6d1a2705f7eec178a2826188b47031c42800059f (diff)
downloadutil-linux-8c587fad9f9d19758b7ade69ef25e63d99cdba16.tar.gz
lscpu: (topology) add read_configure()
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/lscpu-api.h')
-rw-r--r--sys-utils/lscpu-api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/lscpu-api.h b/sys-utils/lscpu-api.h
index 3086d80935..a4afd29643 100644
--- a/sys-utils/lscpu-api.h
+++ b/sys-utils/lscpu-api.h
@@ -49,7 +49,6 @@ struct lscpu_cputype {
int dispatching; /* -1 if not evailable, DIST_* */
int freqboost; /* -1 if not evailable */
- int *configured; /* cpu configured */
int physsockets; /* Physical sockets (modules) */
int physchips; /* Physical chips */
int physcoresperchip; /* Physical cores per chip */
@@ -103,6 +102,7 @@ struct lscpu_cpu {
int polarization; /* POLAR_* */
int address; /* physical cpu address */
+ int configured; /* cpu configured */
};
struct lscpu_arch {