Re: [PATCH] x86: fix and improve percpu_cmpxchg{8,16}b_double()

From: H. Peter Anvin
Date: Fri Dec 16 2011 - 10:39:54 EST


On 12/14/2011 12:33 AM, Jan Beulich wrote:
>
> At once also change the return value type to what it really is -
> 'bool'.
>

I have a hazy memory of "bool" not working correctly in inline assembly,
but it might be ancient history by now.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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