Merge branch 'master'
[linux-2.6-block.git] / include / asm-sh / bug.h
CommitLineData
1da177e4
LT
1#ifndef __ASM_SH_BUG_H
2#define __ASM_SH_BUG_H
3
4#include <linux/config.h>
5
c8538a7a 6#ifdef CONFIG_BUG
1da177e4
LT
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
c8538a7a
MM
16#endif
17
1da177e4
LT
18#include <asm-generic/bug.h>
19
20#endif