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 */
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 */
{
/* 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),
};
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
};
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"},
};
[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 }
};