repo.or.cz
/
linux
/
fpc-iii.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH] fix semaphore handling in __unregister_chrdev_region
[linux/fpc-iii.git]
/
include
/
asm-sh
/
bug.h
blob
70508a360cd669b84ade8a09ab29f570d6dcf8de
1
#ifndef __ASM_SH_BUG_H
2
#define __ASM_SH_BUG_H
3
4
#include <linux/config.h>
5
6
#ifdef CONFIG_BUG
7
/*
8
* Tell the user there is some problem.
9
*/
10
#define BUG() do { \
11
printk(
"kernel BUG at %s:%d!
\n
"
, __FILE__, __LINE__); \
12
*(volatile int *)0 = 0; \
13
} while (0)
14
15
#define HAVE_ARCH_BUG
16
#endif
17
18
#include <asm-generic/bug.h>
19
20
#endif