]> git.baikalelectronics.ru Git - kernel.git/commit
x86, alternative: Use .pushsection/.popsection
authorH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:43:08 +0000 (12:43 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Fri, 21 Sep 2012 19:45:25 +0000 (12:45 -0700)
commite77e3f34965d62afa8ea83e72bb9691b42314be5
tree7e8a59f760e1035d227b410bdeff22338807900e
parenteb12ab877ca88285c33e76b5d801d5cd9ce4d906
x86, alternative: Use .pushsection/.popsection

.section/.previous doesn't nest.  Use .pushsection/.popsection in
<asm/alternative.h> so that they can be properly nested.

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