Skip to content
Snippets Groups Projects
Commit d6250a3f authored by Alan Cox's avatar Alan Cox Committed by H. Peter Anvin
Browse files

x86, nops: Missing break resulting in incorrect selection on Intel


The Intel case falls through into the generic case which then changes
the values.  For cases like the P6 it doesn't do the right thing so
this seems to be a screwup.

Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-lww2uirad4skzjlmrm0vru8o@git.kernel.org


Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
Cc: <stable@vger.kernel.org>
parent 2a8ac745
No related branches found
No related tags found
No related merge requests found
...@@ -219,7 +219,7 @@ void __init arch_init_ideal_nops(void) ...@@ -219,7 +219,7 @@ void __init arch_init_ideal_nops(void)
ideal_nops = intel_nops; ideal_nops = intel_nops;
#endif #endif
} }
break;
default: default:
#ifdef CONFIG_X86_64 #ifdef CONFIG_X86_64
ideal_nops = k8_nops; ideal_nops = k8_nops;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment