Re: do_div vs sector_t

Richard Henderson (rth@twiddle.net)
Sun, 13 Jul 2003 10:26:23 -0700


On Fri, Jul 11, 2003 at 11:33:59PM +0100, Matthew Wilcox wrote:
> Better ideas?

if (likely(((n) >> 31 >> 1) == 0)) {

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