]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/asm-sh64/bug.h
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik...
[mirror_ubuntu-bionic-kernel.git] / include / asm-sh64 / bug.h
CommitLineData
1da177e4
LT
1#ifndef __ASM_SH64_BUG_H
2#define __ASM_SH64_BUG_H
3
56060141 4#ifdef CONFIG_BUG
1da177e4
LT
5/*
6 * Tell the user there is some problem, then force a segfault (in process
7 * context) or a panic (interrupt context).
8 */
9#define BUG() do { \
10 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
11 *(volatile int *)0 = 0; \
12} while (0)
13
56060141
PM
14#define HAVE_ARCH_BUG
15#endif
1da177e4 16
56060141 17#include <asm-generic/bug.h>
1da177e4
LT
18
19#endif /* __ASM_SH64_BUG_H */