aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/m68k/m68020
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/m68k/m68020')
-rw-r--r--sysdeps/m68k/m68020/atomicity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/m68k/m68020/atomicity.h b/sysdeps/m68k/m68020/atomicity.h
index 4639b01..4649480 100644
--- a/sysdeps/m68k/m68020/atomicity.h
+++ b/sysdeps/m68k/m68020/atomicity.h
@@ -45,7 +45,7 @@ atomic_add (volatile uint32_t *mem, int val)
{
/* XXX Use cas here as well? */
__asm__ __volatile__ ("add%.l %0,%1"
- : : "ir" (val), "m" (*mem) : "memory");
+ : : "id" (val), "m" (*mem) : "memory");
}
static inline int