| /* |
| * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) |
| * |
| * This program is free software; you can redistribute it and/or modify |
| * it under the terms of the GNU General Public License version 2 as |
| * published by the Free Software Foundation. |
| */ |
| |
| #ifndef _ASMARC_BUG_H |
| #define _ASMARC_BUG_H |
| |
| #include <asm/event-log.h> |
| |
| #define BUG() do { \ |
| show_stacktrace(0,0); \ |
| printk("Kernel BUG in file %s: function %s: line %d!\n", \ |
| __FILE__, __FUNCTION__, __LINE__); \ |
| sort_snaps(1); \ |
| } while(0) |
| |
| #define HAVE_ARCH_BUG |
| |
| #include <asm-generic/bug.h> |
| |
| #endif |