x86: add _ASM_EXTABLE macro to <asm/asm.h>
authorH. Peter Anvin <hpa@zytor.com>
Mon, 4 Feb 2008 15:47:56 +0000 (16:47 +0100)
committerIngo Molnar <mingo@elte.hu>
Mon, 4 Feb 2008 15:47:56 +0000 (16:47 +0100)
commita34746bc43eb63e545abf5eb002d96483a54ee32
treea557068ff21007b38a21d90927dd720e4d49d457
parent1622ac23bd3568c3ae8bb391dd3adb51887d7141
x86: add _ASM_EXTABLE macro to <asm/asm.h>

Instead of open-coding the __ex_table information at each callsite,
construct a common macro that can work regardless of CPU size.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
include/asm-x86/asm.h