#define BUG_ON(condition) \
do { \
- if (unlikely(condition)) \
+ if (caa_unlikely(condition)) \
ERR("condition not respected (BUG) on line %s:%d", __FILE__, __LINE__); \
} while(0)
#define WARN_ON(condition) \
do { \
- if (unlikely(condition)) \
+ if (caa_unlikely(condition)) \
WARN("condition not respected on line %s:%d", __FILE__, __LINE__); \
} while(0)
#define WARN_ON_ONCE(condition) WARN_ON(condition)