Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d824395c authored by Joerg Roedel's avatar Joerg Roedel Committed by Andi Kleen
Browse files

[PATCH] x86: remove constant_tsc reporting from /proc/cpuinfo' power flags



remove the reporting of the constant_tsc flag from the "power management"
field in /proc/cpuinfo.  The NULL value there was replaced by "" because
the former would result in a printout of [8] if the flag is set.

Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarAndi Kleen <ak@suse.de>
parent 382591d5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -72,8 +72,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
		"stc",
		"100mhzsteps",
		"hwpstate",
		NULL,
		NULL,	/* constant_tsc - moved to flags */
		"",	/* constant_tsc - moved to flags */
		/* nothing */
	};
	struct cpuinfo_x86 *c = v;
+2 −3
Original line number Diff line number Diff line
@@ -979,9 +979,8 @@ static int show_cpuinfo(struct seq_file *m, void *v)
		"stc",
		"100mhzsteps",
		"hwpstate",
		NULL,	/* tsc invariant mapped to constant_tsc */
		NULL,
		/* nothing */	/* constant_tsc - moved to flags */
		"",	/* tsc invariant mapped to constant_tsc */
		/* nothing */
	};