On Tue, Jan 10, 2012 at 20:09, Thorsten Glaser <t...@mirbsd.de> wrote: >>CAS is a read-modify-write instruction, which is not guaranteed to work >>on all m68k platforms (hence the existence of CONFIG_RMW_INSNS in >>the kernel). > > All platforms currently supported by Debian (that is, not Coldfire and > with MMU) should have it, right? I think otherwise the cmpxchg syscall > can be used, but, as I haven’t seen an example of it in use, I’ve not > felt like experimenting.
It's not a CPU issue, but a bus/platform issue. That's why we have the syscall, which is always safe to use. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org 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, email to debian-x-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAMuHMdVqTX5x_ZiPUj=ra2sw-x1jkghyvwmfanscgyhqn6h...@mail.gmail.com