Re: [PATCH 0/6] use BUG_ON correctly

From: Yong Zhang
Date: Wed Jan 26 2011 - 21:02:52 EST


On Thu, Jan 27, 2011 at 2:39 AM, Coly Li <bosong.ly@xxxxxxxxxx> wrote:
> BUG_ON() already uses unlikely() inside its definition if possible,

It's true for asm-generic/bug.h.

But for archs which has defined HAVE_ARCH_BUG,
unlikely() is not always included in it.

Thanks,
Yong

--
Only stand for myself
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/