i2c/vt8231: Remove superfluous initialization
[linux-2.6/mini2440.git] / include / asm-mips / bug.h
blob4d560a533940603c6955c753b0ba34daec45f905
1 #ifndef __ASM_BUG_H
2 #define __ASM_BUG_H
4 #include <asm/sgidefs.h>
6 #ifdef CONFIG_BUG
8 #include <asm/break.h>
10 #define BUG() \
11 do { \
12 __asm__ __volatile__("break %0" : : "i" (BRK_BUG)); \
13 } while (0)
15 #define HAVE_ARCH_BUG
17 #if (_MIPS_ISA > _MIPS_ISA_MIPS1)
19 #define BUG_ON(condition) \
20 do { \
21 __asm__ __volatile__("tne $0, %0" : : "r" (condition)); \
22 } while (0)
24 #define HAVE_ARCH_BUG_ON
26 #endif /* _MIPS_ISA > _MIPS_ISA_MIPS1 */
28 #endif
30 #include <asm-generic/bug.h>
32 #endif /* __ASM_BUG_H */