[PATCH 1/3] x86: mtrr_cleanup update command line

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, Yinghai Lu <yhlu.kernel@...>
Date: Tuesday, September 30, 2008 - 7:29 pm

change enable_mtrr_cleanup to mtrr-cleanup, disable_mtrr_cleanup to nomtrr-cleanup.

Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>

---
 Documentation/kernel-parameters.txt |    4 ++--
 arch/x86/Kconfig                    |    2 +-
 arch/x86/kernel/cpu/mtrr/main.c     |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

Index: linux-2.6/Documentation/kernel-parameters.txt
===================================================================
--- linux-2.6.orig/Documentation/kernel-parameters.txt
+++ linux-2.6/Documentation/kernel-parameters.txt
@@ -614,8 +614,8 @@ and is between 256 and 4096 characters.
 			See drivers/char/README.epca and
 			Documentation/digiepca.txt.
 
-	disable_mtrr_cleanup [X86]
-	enable_mtrr_cleanup [X86]
+	nomtrr-cleanup [X86]
+	mtrr-cleanup [X86]
 			The kernel tries to adjust MTRR layout from continuous
 			to discrete, to make X server driver able to add WB
 			entry later. This parameter enables/disables that.
Index: linux-2.6/arch/x86/Kconfig
===================================================================
--- linux-2.6.orig/arch/x86/Kconfig
+++ linux-2.6/arch/x86/Kconfig
@@ -1250,7 +1250,7 @@ config MTRR_SANITIZER
 	  Convert MTRR layout from continuous to discrete, so X drivers can
 	  add writeback entries.
 
-	  Can be disabled with disable_mtrr_cleanup on the kernel command line.
+	  Can be disabled with nomtrr-cleanup on the kernel command line.
 	  The largest mtrr entry size for a continous block can be set with
 	  mtrr_chunk_size.
 
Index: linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
===================================================================
--- linux-2.6.orig/arch/x86/kernel/cpu/mtrr/main.c
+++ linux-2.6/arch/x86/kernel/cpu/mtrr/main.c
@@ -826,7 +826,7 @@ static int __init disable_mtrr_cleanup_s
 		enable_mtrr_cleanup = 0;
 	return 0;
 }
-early_param("disable_mtrr_cleanup", disable_mtrr_cleanup_setup);
+early_param("nomtrr-cleanup", disable_mtrr_cleanup_setup);
 
 static int __init enable_mtrr_cleanup_setup(char *str)
 {
@@ -834,7 +834,7 @@ static int __init enable_mtrr_cleanup_se
 		enable_mtrr_cleanup = 1;
 	return 0;
 }
-early_param("enable_mtrr_cleanup", enable_mtrr_cleanup_setup);
+early_param("mtrr-cleanup", enable_mtrr_cleanup_setup);
 
 static int __init mtrr_cleanup_debug_setup(char *str)
 {
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] x86: mtrr_cleanup update command line, Yinghai Lu, (Tue Sep 30, 7:29 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Tue Sep 30, 7:57 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Wed Oct 8, 8:07 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Thu Oct 9, 1:20 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, H. Peter Anvin, (Thu Oct 9, 2:43 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, H. Peter Anvin, (Tue Sep 30, 7:41 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Tue Sep 30, 8:41 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Tue Sep 30, 8:35 pm)
Re: [PATCH 1/3] x86: mtrr_cleanup update command line, Randy Dunlap, (Tue Sep 30, 8:07 pm)
[PATCH 3/3] x86: change MTRR_SANITIZER to def_bool y, Yinghai Lu, (Tue Sep 30, 7:29 pm)
[PATCH 2/3] x86: doc mtrr-cleanup-debug, Yinghai Lu, (Tue Sep 30, 7:29 pm)