aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys-utils/lscpu-cputype.c12
-rw-r--r--sys-utils/lscpu.c10
2 files changed, 11 insertions, 11 deletions
diff --git a/sys-utils/lscpu-cputype.c b/sys-utils/lscpu-cputype.c
index 834e1c6632..898775822e 100644
--- a/sys-utils/lscpu-cputype.c
+++ b/sys-utils/lscpu-cputype.c
@@ -185,7 +185,7 @@ enum {
static const struct cpuinfo_pattern type_patterns[] =
{
/* Sort by fields name! */
- DEF_PAT_CPUTYPE( "ASEs implemented", PAT_FLAGS, flags), /* mips */
+ DEF_PAT_CPUTYPE( "ASEs implemented", PAT_FLAGS, flags), /* mips */
DEF_PAT_CPUTYPE( "BogoMIPS", PAT_BOGOMIPS, bogomips), /* aarch64 */
DEF_PAT_CPUTYPE( "CPU implementer", PAT_IMPLEMENTER,vendor), /* ARM and aarch64 */
DEF_PAT_CPUTYPE( "CPU part", PAT_PART, model), /* ARM and aarch64 */
@@ -196,7 +196,7 @@ static const struct cpuinfo_pattern type_patterns[] =
DEF_PAT_CPUTYPE( "bogomips per cpu", PAT_BOGOMIPS, bogomips), /* s390 */
DEF_PAT_CPUTYPE( "cpu", PAT_CPU, modelname), /* ppc, sparc */
DEF_PAT_CPUTYPE( "cpu family", PAT_FAMILY, family),
- DEF_PAT_CPUTYPE( "cpu model", PAT_MODEL, model), /* mips */
+ DEF_PAT_CPUTYPE( "cpu model", PAT_MODEL, model), /* mips */
DEF_PAT_CPUTYPE( "family", PAT_FAMILY, family),
DEF_PAT_CPUTYPE( "features", PAT_FEATURES, flags), /* s390 */
DEF_PAT_CPUTYPE( "flags", PAT_FLAGS, flags), /* x86 */
@@ -225,11 +225,11 @@ static const struct cpuinfo_pattern cpu_patterns[] =
{
/* Sort by fields name! */
DEF_PAT_CPU( "bogomips", PAT_BOGOMIPS_CPU, bogomips),
- DEF_PAT_CPU( "cpu MHz", PAT_MHZ, mhz),
+ DEF_PAT_CPU( "cpu MHz", PAT_MHZ, mhz),
DEF_PAT_CPU( "cpu MHz dynamic", PAT_MHZ_DYNAMIC, dynamic_mhz), /* s390 */
- DEF_PAT_CPU( "cpu MHz static", PAT_MHZ_STATIC, static_mhz), /* s390 */
+ DEF_PAT_CPU( "cpu MHz static", PAT_MHZ_STATIC, static_mhz), /* s390 */
DEF_PAT_CPU( "cpu number", PAT_PROCESSOR, logical_id), /* s390 */
- DEF_PAT_CPU( "processor", PAT_PROCESSOR, logical_id),
+ DEF_PAT_CPU( "processor", PAT_PROCESSOR, logical_id),
};
@@ -246,7 +246,7 @@ static const struct cpuinfo_pattern cpu_patterns[] =
static const struct cpuinfo_pattern cache_patterns[] =
{
/* Sort by fields name! */
- DEF_PAT_CACHE("cache", PAT_CACHE),
+ DEF_PAT_CACHE("cache", PAT_CACHE),
};
#define CPUTYPE_PATTERN_BUFSZ 32
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index c9fa367361..b5cde27230 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -80,10 +80,10 @@ struct polarization_modes {
};
static struct polarization_modes polar_modes[] = {
- [POLAR_UNKNOWN] = {"U", "-"},
- [POLAR_VLOW] = {"VL", "vert-low"},
- [POLAR_VMEDIUM] = {"VM", "vert-medium"},
- [POLAR_VHIGH] = {"VH", "vert-high"},
+ [POLAR_UNKNOWN] = {"U", "-"},
+ [POLAR_VLOW] = {"VL", "vert-low"},
+ [POLAR_VMEDIUM] = {"VM", "vert-medium"},
+ [POLAR_VHIGH] = {"VH", "vert-high"},
[POLAR_HORIZONTAL] = {"H", "horizontal"},
};
@@ -149,7 +149,7 @@ static struct lscpu_coldesc coldescs_cpu[] =
[COL_CPU_ADDRESS] = { "ADDRESS", N_("physical address of a CPU") },
[COL_CPU_CONFIGURED] = { "CONFIGURED", N_("shows if the hypervisor has allocated the CPU") },
[COL_CPU_ONLINE] = { "ONLINE", N_("shows if Linux currently makes use of the CPU"), SCOLS_FL_RIGHT },
- [COL_CPU_MHZ] = { "MHZ", N_("shows the currently MHz of the CPU"), SCOLS_FL_RIGHT },
+ [COL_CPU_MHZ] = { "MHZ", N_("shows the currently MHz of the CPU"), SCOLS_FL_RIGHT },
[COL_CPU_MAXMHZ] = { "MAXMHZ", N_("shows the maximum MHz of the CPU"), SCOLS_FL_RIGHT },
[COL_CPU_MINMHZ] = { "MINMHZ", N_("shows the minimum MHz of the CPU"), SCOLS_FL_RIGHT }
};