x86, alternative: Add altinstruction_entry macro
authorFenghua Yu <fenghua.yu@intel.com>
Tue, 17 May 2011 22:29:13 +0000 (15:29 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 17 May 2011 22:40:25 +0000 (15:40 -0700)
commit9072d11da15a71e086eab3b5085184f2c1d06913
tree9ddd7e679443c855bb9823ef14c73e9746912c3c
parent509731336313b3799cf03071d72c64fa6383895e
x86, alternative: Add altinstruction_entry macro

Add altinstruction_entry macro to generate .altinstructions section
entries from assembly code.  This should be less failure-prone than
open-coding.

Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Link: http://lkml.kernel.org/r/1305671358-14478-5-git-send-email-fenghua.yu@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/alternative-asm.h