2 * Copyright (C) 2006 Atmel Corporation
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
8 #ifndef __ASM_AVR32_BUG_H
9 #define __ASM_AVR32_BUG_H
14 * According to our Chief Architect, this compact opcode is very
15 * unlikely to ever be implemented.
17 #define AVR32_BUG_OPCODE 0x5df0
19 #ifdef CONFIG_DEBUG_BUGVERBOSE
23 asm volatile(".hword %0\n\t" \
27 : "n"(AVR32_BUG_OPCODE), \
28 "i"(__LINE__), "X"(__FILE__)); \
35 asm volatile(".hword %0\n\t" \
36 : : "n"(AVR32_BUG_OPCODE)); \
39 #endif /* CONFIG_DEBUG_BUGVERBOSE */
43 #endif /* CONFIG_BUG */
45 #include <asm-generic/bug.h>
47 #endif /* __ASM_AVR32_BUG_H */