aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-x86')
-rw-r--r--include/asm-x86/asm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/asm-x86/asm.h b/include/asm-x86/asm.h
index 435402e623e1..57750a95685d 100644
--- a/include/asm-x86/asm.h
+++ b/include/asm-x86/asm.h
@@ -3,8 +3,10 @@
3 3
4#ifdef __ASSEMBLY__ 4#ifdef __ASSEMBLY__
5# define __ASM_FORM(x) x 5# define __ASM_FORM(x) x
6# define __ASM_EX_SEC .section __ex_table
6#else 7#else
7# define __ASM_FORM(x) " " #x " " 8# define __ASM_FORM(x) " " #x " "
9# define __ASM_EX_SEC " .section __ex_table,\"a\"\n"
8#endif 10#endif
9 11
10#ifdef CONFIG_X86_32 12#ifdef CONFIG_X86_32
@@ -30,7 +32,7 @@
30 32
31/* Exception table entry */ 33/* Exception table entry */
32# define _ASM_EXTABLE(from,to) \ 34# define _ASM_EXTABLE(from,to) \
33 " .section __ex_table,\"a\"\n" \ 35 __ASM_EX_SEC \
34 _ASM_ALIGN "\n" \ 36 _ASM_ALIGN "\n" \
35 _ASM_PTR #from "," #to "\n" \ 37 _ASM_PTR #from "," #to "\n" \
36 " .previous\n" 38 " .previous\n"