[PATCH] x86: MPSC should use P6 NOPs

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: H. Peter Anvin <hpa@...>, Thomas Gleixner <tglx@...>, <linux-kernel@...>
Date: Thursday, April 3, 2008 - 6:48 pm

I've now noticed that the machine I call MPENTIUM4 for 32-bit kernels
is called MPSC for 64-bit kernels, and in that case it still doesn't
get the P6 NOPs it ought to.  hpa explains that MK8 should still be
excluded, so it's just a matter of including MPSC along with MPENTIUM4.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
---

 arch/x86/Kconfig.cpu |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- 2.6.25-rc8/arch/x86/Kconfig.cpu	2008-03-05 10:47:37.000000000 +0000
+++ linux/arch/x86/Kconfig.cpu	2008-04-01 22:35:32.000000000 +0100
@@ -388,7 +388,7 @@ config X86_OOSTORE
 #
 config X86_P6_NOP
 	def_bool y
-	depends on (X86_64 || !X86_GENERIC) && (M686 || MPENTIUMII || MPENTIUMIII || MPENTIUMM || MCORE2 || MPENTIUM4)
+	depends on (X86_64 || !X86_GENERIC) && (M686 || MPENTIUMII || MPENTIUMIII || MPENTIUMM || MCORE2 || MPENTIUM4 || MPSC)
 
 config X86_TSC
 	def_bool y
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: MPSC should use P6 NOPs, Hugh Dickins, (Thu Apr 3, 6:48 pm)
Re: [PATCH] x86: MPSC should use P6 NOPs, Ingo Molnar, (Fri Apr 4, 4:33 am)
Re: [PATCH] x86: MPSC should use P6 NOPs, H. Peter Anvin, (Thu Apr 3, 6:48 pm)