summaryrefslogtreecommitdiff
path: root/arch/frv/include/asm/atomic_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/frv/include/asm/atomic_defs.h')
-rw-r--r--arch/frv/include/asm/atomic_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/frv/include/asm/atomic_defs.h b/arch/frv/include/asm/atomic_defs.h
index 36e126d2f801..d4912c88b829 100644
--- a/arch/frv/include/asm/atomic_defs.h
+++ b/arch/frv/include/asm/atomic_defs.h
@@ -162,6 +162,8 @@ ATOMIC_EXPORT(__atomic64_fetch_##op);
ATOMIC_FETCH_OP(or)
ATOMIC_FETCH_OP(and)
ATOMIC_FETCH_OP(xor)
+ATOMIC_FETCH_OP(add)
+ATOMIC_FETCH_OP(sub)
ATOMIC_OP_RETURN(add)
ATOMIC_OP_RETURN(sub)