Re: [PATCH 1/1] unify DMA_..BIT_MASK definitions: v3.1

From: Jeremy Fitzhardinge
Date: Fri Oct 05 2007 - 17:29:18 EST


Andreas Schwab wrote:
> #define DMA_BIT_MASK(n) ((u64)-1 >> (64 - (n)))
>

Yeah, that's cleaner.

J
-
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/