x86, nops: Missing break resulting in incorrect selection on Intel
authorAlan Cox <alan@linux.intel.com>
Wed, 25 Jul 2012 15:28:19 +0000 (16:28 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Aug 2012 15:10:10 +0000 (08:10 -0700)
commitcabf5b0af54cec6a2f9ce674cbc96fc8aa2fc468
tree711098e955a849ef1d79acd8891b3026113d0916
parent0295403cd835f7260c6d9262817138f9f1cd8e19
x86, nops: Missing break resulting in incorrect selection on Intel

commit d6250a3f12edb3a86db9598ffeca3de8b4a219e9 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>
arch/x86/kernel/alternative.c