> Commit-ID: 5dc71d49a7c209b77cd257049a2cdb99ed1008c0
> Gitweb:
http://git.kernel.org/tip/5dc71d49a7c209b77cd257049a2cdb99ed1008c0
> Author: tip-bot for H. Peter Anvin <hpa@linux.intel.com>
> AuthorDate: Thu, 10 Jun 2010 00:10:43 +0000
> Committer: H. Peter Anvin <hpa@zytor.com>
> CommitDate: Thu, 10 Jun 2010 23:20:34 -0700
>
> x86, alternatives: Use 16-bit numbers for cpufeature index
>
> We already have cpufeature indicies above 255, so use a 16-bit number
> for the alternatives index. This consumes a padding field and so
> doesn't add any size, but it means that abusing the padding field to
> create assembly errors on overflow no longer works. We can retain the
> test simply by redirecting it to the .discard section, however.
>
> Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
> LKML-Reference: <tip-f88731e3068f9d1392ba71cc9f50f035d26a0d4f@git.kernel.org>
> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
> ---
> arch/x86/include/asm/alternative.h | 7 ++++---
> arch/x86/include/asm/cpufeature.h | 10 ++++++----
> 2 files changed, 10 insertions(+), 7 deletions(-)