#ifdef CONFIG_BUG (...略...) #ifndef HAVE_ARCH_BUG
#define BUG() do { \ printk("BUG: failure at %s:%d/%s()!\n", __FILE__, __LINE__, __FUNCTION__ ); \ panic("BUG!"); \ } while (0)
#endif (...略...)
#else /* !CONFIG_BUG */ #ifndef HAVE_ARCH_BUG #define BUG()
#endif (...略...) #endif