diff options
-rw-r--r-- | include/ntapi/bits/i386/nt_atomic_i386_asm__gcc.h | 4 | ||||
-rw-r--r-- | include/ntapi/bits/x86_64/nt_atomic_x86_64_asm__gcc.h | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/ntapi/bits/i386/nt_atomic_i386_asm__gcc.h b/include/ntapi/bits/i386/nt_atomic_i386_asm__gcc.h index f6e11ca..04c0a8f 100644 --- a/include/ntapi/bits/i386/nt_atomic_i386_asm__gcc.h +++ b/include/ntapi/bits/i386/nt_atomic_i386_asm__gcc.h @@ -378,7 +378,7 @@ static __inline__ intptr_t at_locked_xor( "xorl %1, %0" : "=m" (*dst), "=a" (ret) : "r" (mask) - : "memxory"); + : "memory"); return ret; } @@ -395,7 +395,7 @@ static __inline__ int32_t at_locked_xor_32( "xorl %1, %0" : "=m" (*dst), "=a" (ret) : "r" (mask) - : "memxory"); + : "memory"); return ret; } diff --git a/include/ntapi/bits/x86_64/nt_atomic_x86_64_asm__gcc.h b/include/ntapi/bits/x86_64/nt_atomic_x86_64_asm__gcc.h index b15bcdc..84b9575 100644 --- a/include/ntapi/bits/x86_64/nt_atomic_x86_64_asm__gcc.h +++ b/include/ntapi/bits/x86_64/nt_atomic_x86_64_asm__gcc.h @@ -413,7 +413,7 @@ static __inline__ intptr_t at_locked_xor( "xorq %1, %0" : "=m" (*dst), "=a" (ret) : "r" (mask) - : "memxory"); + : "memory"); return ret; } @@ -430,7 +430,7 @@ static __inline__ int32_t at_locked_xor_32( "xorl %1, %0" : "=m" (*dst), "=a" (ret) : "r" (mask) - : "memxory"); + : "memory"); return ret; } @@ -447,7 +447,7 @@ static __inline__ int64_t at_locked_xor_64( "xorq %1, %0" : "=m" (*dst), "=a" (ret) : "r" (mask) - : "memxory"); + : "memory"); return ret; } |