]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - arch/x86/kernel/alternative.c
x86, alternatives: BUG on encountering an invalid CPU feature number
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 13 Jul 2010 21:57:50 +0000 (14:57 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 13 Jul 2010 21:57:50 +0000 (14:57 -0700)
commit3b770a2128423a687e6e9c57184a584fb4ba4c77
treee9e4698fa84db10d6a58a78103ecc16fe4e5a94b
parentdf378ccfc4dd04e263426ad805516915874774aa
x86, alternatives: BUG on encountering an invalid CPU feature number

Make the alternatives-patching code BUG on encountering an invalid CPU
feature number.  Should have done this a long time ago.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: Yinghai Lu <yinhai@kernel.org>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <tip-df378ccfc4dd04e263426ad805516915874774aa@git.kernel.org>
arch/x86/kernel/alternative.c