summaryrefslogtreecommitdiffstats
path: root/kernel/lib/atomic64.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/atomic64.c')
-rw-r--r--kernel/lib/atomic64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/lib/atomic64.c b/kernel/lib/atomic64.c
index 1298c05ef..2886ebac6 100644
--- a/kernel/lib/atomic64.c
+++ b/kernel/lib/atomic64.c
@@ -102,6 +102,9 @@ EXPORT_SYMBOL(atomic64_##op##_return);
ATOMIC64_OPS(add, +=)
ATOMIC64_OPS(sub, -=)
+ATOMIC64_OP(and, &=)
+ATOMIC64_OP(or, |=)
+ATOMIC64_OP(xor, ^=)
#undef ATOMIC64_OPS
#undef ATOMIC64_OP_RETURN