Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158692
b: refs/heads/master
c: 709972b
h: refs/heads/master
v: v3
  • Loading branch information
H. Peter Anvin committed Aug 31, 2009
1 parent e3aae86 commit 3535308
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fe9b4e4e40ffdabbd385cdf171cb861c2fd517c0
refs/heads/master: 709972b1f6f70535d1fddbe1243a51b90c408a1c
10 changes: 9 additions & 1 deletion trunk/arch/x86/include/asm/asm.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#ifdef __ASSEMBLY__
# define __ASM_FORM(x) x
# define __ASM_EX_SEC .section __ex_table
# define __ASM_EX_SEC .section __ex_table, "a"
#else
# define __ASM_FORM(x) " " #x " "
# define __ASM_EX_SEC " .section __ex_table,\"a\"\n"
Expand Down Expand Up @@ -38,10 +38,18 @@
#define _ASM_DI __ASM_REG(di)

/* Exception table entry */
#ifdef __ASSEMBLY__
# define _ASM_EXTABLE(from,to) \
__ASM_EX_SEC ; \
_ASM_ALIGN ; \
_ASM_PTR from , to ; \
.previous
#else
# define _ASM_EXTABLE(from,to) \
__ASM_EX_SEC \
_ASM_ALIGN "\n" \
_ASM_PTR #from "," #to "\n" \
" .previous\n"
#endif

#endif /* _ASM_X86_ASM_H */

0 comments on commit 3535308

Please sign in to comment.