On 10/08, Linus Torvalds wrote:
>
> (not yet merged), see:
>
>     
> http://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?id=0c44c2d0f459cd7e275242b72f500137c4fa834d

I do not really understand inline assembly constraints, but I'll ask
anyway.

        +#define __GEN_RMWcc(fullop, var, cc, ...) \
        +do { \
        + asm volatile goto (fullop "; j" cc " %l[cc_label]" \
        + : : "m" (var), ## __VA_ARGS__ \
              ^^^^^^^^^

don't we need

        "+m" (var)

here?

Oleg.

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

Reply via email to