]> git.karo-electronics.de Git - karo-tx-linux.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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 9 Aug 2012 23:24:53 +0000 (00:24 +0100)
commit60ed9e385606f27c787710bba0dfdb7ff467bdf7
tree51cbfd30b61fd90ecf1f8429870da563c434be0e
parent67258e44992f03cd580e77b30d4c330f93eebaf7
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: Ben Hutchings <ben@decadent.org.uk>
arch/x86/kernel/alternative.c