4 #include <linux/config.h>
7 * Tell the user there is some problem.
8 * The offending file and line are encoded after the "officially
9 * undefined" opcode for parsing in the trap handler.
12 #if 1 /* Set to zero for a slightly smaller kernel */
14 __asm__ __volatile__( "ud2\n" \
17 : : "i" (__LINE__), "i" (__FILE__))
19 #define BUG() __asm__ __volatile__("ud2\n")
22 #define BUG_ON(condition) do { if (unlikely((condition)!=0)) BUG(); } while(0)
24 #define PAGE_BUG(page) do { \
28 #define WARN_ON(condition) do { \
29 if (unlikely((condition)!=0)) { \
30 printk("Badness in %s at %s:%d\n", __FUNCTION__, __FILE__, __LINE__); \