| * Copyright (C) 2006 Atmel Corporation |
| * 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 __ASM_AVR32_BUG_H |
| #define __ASM_AVR32_BUG_H |
| * According to our Chief Architect, this compact opcode is very |
| * unlikely to ever be implemented. |
| #define AVR32_BUG_OPCODE 0x5df0 |
| #ifdef CONFIG_DEBUG_BUGVERBOSE |
| asm volatile(".hword %0\n\t" \ |
| : "n"(AVR32_BUG_OPCODE), \ |
| "i"(__LINE__), "X"(__FILE__)); \ |
| asm volatile(".hword %0\n\t" \ |
| : : "n"(AVR32_BUG_OPCODE)); \ |
| #endif /* CONFIG_DEBUG_BUGVERBOSE */ |
| #include <asm-generic/bug.h> |
| #endif /* __ASM_AVR32_BUG_H */ |