mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
x86, nops: Missing break resulting in incorrect selection on Intel
commit d6250a3f12 upstream.
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: Alan Cox <alan@linux.intel.com>
Link: http://lkml.kernel.org/n/tip-lww2uirad4skzjlmrm0vru8o@git.kernel.org
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
61e0a9e79d
commit
7b1cad6280
@@ -220,7 +220,7 @@ void __init arch_init_ideal_nops(void)
|
||||
ideal_nops = intel_nops;
|
||||
#endif
|
||||
}
|
||||
|
||||
break;
|
||||
default:
|
||||
#ifdef CONFIG_X86_64
|
||||
ideal_nops = k8_nops;
|
||||
|
||||
Reference in New Issue
Block a user