Re: [PATCH] x86: Get rid of __HAVE_ARCH_CMPXCHG

From: Geert Uytterhoeven
Date: Fri Jul 11 2014 - 06:35:51 EST

On Fri, Jul 11, 2014 at 12:28 PM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> On Fri, Jul 11, 2014 at 12:19:43PM +0200, Geert Uytterhoeven wrote:
>> What about non-x86? __HAVE_ARCH_CMPXCHG isn't always defined.
> Bah, this hunk was definitely not supposed to be there. Thanks for the
> catch!


In that case you also want to add a (new) "#define __HAVE_ARCH_CMPXCHG 1"
to one of the shared x86 header files, right?



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at