Commit 04ffa773 authored by Matthew Wilcox's avatar Matthew Wilcox Committed by Linus Torvalds

[PATCH] parisc: dump the stack on a BUG()

dump the stack on a BUG()
Committed-by: default avatarRandolph Chung <tausq@parisc-linux.org>
parent fe25ae66
#ifndef _PARISC_BUG_H
#define _PARISC_BUG_H
#define HAVE_ARCH_BUG
#define BUG() do { \
printk("kernel BUG at %s:%d!\n", __FILE__, __LINE__); \
dump_stack(); \
panic("BUG!"); \
} while (0)
#include <asm-generic/bug.h>
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment