]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 25 Jul 2012 15:35:38 +0000 (08:35 -0700)
commit2a5e193f223137a0f3f046e32f2c9f8edd0f7971
treeb60e263b2c30459fcf2fdbe6be29b52d242e70a4
parenta8857bf9c925270a06732da58af9646d699022dd
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: 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>
Cc: <stable@vger.kernel.org>
arch/x86/kernel/alternative.c