From 00c8f3104cd50eea2b55e3cb448470b29f3214c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Thu, 25 Oct 2007 00:39:27 +0000 Subject: [PATCH] Add a warning about CAS2: 060 doesn't have it, we'll loose 64bit atomics :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22704 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/libroot/os/arch/m68k/atomic.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/system/libroot/os/arch/m68k/atomic.S b/src/system/libroot/os/arch/m68k/atomic.S index fcff4d5f45..a87321d177 100644 --- a/src/system/libroot/os/arch/m68k/atomic.S +++ b/src/system/libroot/os/arch/m68k/atomic.S @@ -79,6 +79,8 @@ FUNCTION(atomic_get): /* m68k elf convention is to return structs in (a0) */ /* other conventions use d0/d1 but which is MSB ?? */ +#warning M68K: 68060 doesn't have CAS2: use spinlock ?? +/* see http://retropc.net/x68000/software/develop/as/has060/m68k.htm */ /* int64 atomic_add64(vint64 *value, int64 addValue) */ FUNCTION(atomic_add64):