RE: Fix unlock_buffer() to work the same way as bit_unlock()

From: Christoph Lameter
Date: Wed Mar 29 2006 - 18:47:52 EST


On Wed, 29 Mar 2006, Chen, Kenneth W wrote:

> Is gcc smart enough to turn constant argument and collapse inline of
> inline function? I hope it does.

Sure we use that all the time. Look at the cmpxchg definition in
asm-ia64/system.h
-
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/