+ remove-constant_tsc-reporting-from-proc-cpuinfo-power.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     remove constant_tsc reporting from /proc/cpuinfo' power flags
has been added to the -mm tree.  Its filename is
     remove-constant_tsc-reporting-from-proc-cpuinfo-power.patch

*** Remember to use Documentation/SubmitChecklist when testing your code ***

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: remove constant_tsc reporting from /proc/cpuinfo' power flags
From: Joerg Roedel <joerg.roedel@xxxxxxx>

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: Joerg Roedel <joerg.roedel@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 arch/i386/kernel/cpu/proc.c |    3 +--
 arch/x86_64/kernel/setup.c  |    5 ++---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff -puN arch/i386/kernel/cpu/proc.c~remove-constant_tsc-reporting-from-proc-cpuinfo-power arch/i386/kernel/cpu/proc.c
--- a/arch/i386/kernel/cpu/proc.c~remove-constant_tsc-reporting-from-proc-cpuinfo-power
+++ a/arch/i386/kernel/cpu/proc.c
@@ -72,8 +72,7 @@ static int show_cpuinfo(struct seq_file 
 		"stc",
 		"100mhzsteps",
 		"hwpstate",
-		NULL,
-		NULL,	/* constant_tsc - moved to flags */
+		"",	/* constant_tsc - moved to flags */
 		/* nothing */
 	};
 	struct cpuinfo_x86 *c = v;
diff -puN arch/x86_64/kernel/setup.c~remove-constant_tsc-reporting-from-proc-cpuinfo-power arch/x86_64/kernel/setup.c
--- a/arch/x86_64/kernel/setup.c~remove-constant_tsc-reporting-from-proc-cpuinfo-power
+++ a/arch/x86_64/kernel/setup.c
@@ -987,9 +987,8 @@ static int show_cpuinfo(struct seq_file 
 		"stc",
 		"100mhzsteps",
 		"hwpstate",
-		NULL,	/* tsc invariant mapped to constant_tsc */
-		NULL,
-		/* nothing */	/* constant_tsc - moved to flags */
+		"",	/* tsc invariant mapped to constant_tsc */
+		/* nothing */
 	};
 
 
_

Patches currently in -mm which might be from joerg.roedel@xxxxxxx are

git-kvm.patch
remove-constant_tsc-reporting-from-proc-cpuinfo-power.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux