Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 143402
b: refs/heads/master
c: 616df13
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Apr 15, 2009
1 parent 2b6054f commit f0fec31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 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: 76d320a5072f93abb913e9b9d84304f819c34b96
refs/heads/master: 616df135110ccae617ef9f10e0814fa48462cc37
10 changes: 6 additions & 4 deletions trunk/arch/mn10300/include/asm/bug.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@
#ifndef _ASM_BUG_H
#define _ASM_BUG_H

#ifdef CONFIG_BUG

/*
* Tell the user there is some problem.
*/
#define _debug_bug_trap() \
#define BUG() \
do { \
asm volatile( \
" syscall 15 \n" \
Expand All @@ -25,11 +27,11 @@ do { \
: \
: "i"(__FILE__), "i"(__LINE__) \
); \
} while (0)

#define BUG() _debug_bug_trap()
} while (1)

#define HAVE_ARCH_BUG
#endif /* CONFIG_BUG */

#include <asm-generic/bug.h>

#endif /* _ASM_BUG_H */

0 comments on commit f0fec31

Please sign in to comment.