Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88927
b: refs/heads/master
c: 86d8a08
h: refs/heads/master
i:
  88925: b70e962
  88923: 135425e
  88919: 6d8002a
  88911: 05d4619
  88895: af39578
v: v3
  • Loading branch information
Joe Perches authored and Ingo Molnar committed Apr 17, 2008
1 parent 629f690 commit d741627
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 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: 286275c90f148562b973b1e1f39f9689e6676dc4
refs/heads/master: 86d8a08616ecbc510323bfca591816a5709c6e54
34 changes: 17 additions & 17 deletions trunk/include/asm-x86/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@
# define __BUG_C0 "2:\t.quad 1b, %c0\n"
#endif

#define BUG() \
do { \
asm volatile("1:\tud2\n" \
".pushsection __bug_table,\"a\"\n" \
__BUG_C0 \
"\t.word %c1, 0\n" \
"\t.org 2b+%c2\n" \
".popsection" \
: : "i" (__FILE__), "i" (__LINE__), \
"i" (sizeof(struct bug_entry))); \
for(;;) ; \
} while(0)
#define BUG() \
do { \
asm volatile("1:\tud2\n" \
".pushsection __bug_table,\"a\"\n" \
__BUG_C0 \
"\t.word %c1, 0\n" \
"\t.org 2b+%c2\n" \
".popsection" \
: : "i" (__FILE__), "i" (__LINE__), \
"i" (sizeof(struct bug_entry))); \
for (;;) ; \
} while (0)

#else
#define BUG() \
do { \
asm volatile("ud2"); \
for(;;) ; \
} while(0)
#define BUG() \
do { \
asm volatile("ud2"); \
for (;;) ; \
} while (0)
#endif

#endif /* !CONFIG_BUG */
Expand Down

0 comments on commit d741627

Please sign in to comment.