blob: a2e7430aafa625b53cc889a998b4ad972f876763 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _S390_BUG_H
2#define _S390_BUG_H
3
4#include <linux/kernel.h>
5
Matt Mackallc8538a72005-05-01 08:59:01 -07006#ifdef CONFIG_BUG
Linus Torvalds1da177e2005-04-16 15:20:36 -07007#define BUG() do { \
8 printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
9 __asm__ __volatile__(".long 0"); \
10} while (0)
11
12#define HAVE_ARCH_BUG
Matt Mackallc8538a72005-05-01 08:59:01 -070013#endif
14
Linus Torvalds1da177e2005-04-16 15:20:36 -070015#include <asm-generic/bug.h>
16
17#endif