]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb2f9bf7be9991fa77c3df1e519c6dfae21f710ee
tree9ddd7e679443c855bb9823ef14c73e9746912c3c
parent8f985fa86442d80f542ce42afb32c1f5c4ede224
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