x86, extable: Use .pushsection ... .popsection for _ASM_EXTABLE()
authorH. Peter Anvin <hpa@zytor.com>
Fri, 20 Apr 2012 19:12:27 +0000 (12:12 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 20 Apr 2012 20:51:38 +0000 (13:51 -0700)
commitd4541805e812abb5110d5de83246488fa0aa9a8e
treea98f00e62825de0b1f40c9f43c7d999aadd8e2cb
parent060feb650010c261fcfbae9de9348b46cedcd3cd
x86, extable: Use .pushsection ... .popsection for _ASM_EXTABLE()

Instead of using .section ... .previous, use .pushsection
... .popsection; this is (hopefully) a bit more robust, especially in
complex assembly code.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: David Daney <david.daney@cavium.com>
Link: http://lkml.kernel.org/r/CA%2B55aFyijf43qSu3N9nWHEBwaGbb7T2Oq9A=9EyR=Jtyqfq_cQ@mail.gmail.com
arch/x86/include/asm/asm.h