aboutsummaryrefslogtreecommitdiff
path: root/sys/mips
diff options
context:
space:
mode:
authorOlivier Houchard <cognet@FreeBSD.org>2018-03-23 17:25:19 +0000
committerOlivier Houchard <cognet@FreeBSD.org>2018-03-23 17:25:19 +0000
commit98bd8a108dcc136c6db63ee8241760387dbc6ba4 (patch)
tree85ffe40c500dbd9e8bc4c8703a281a04937eca8f /sys/mips
parent171403a3b3db86e2a7f5de4432a9b9462e7f9bc2 (diff)
Notes
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/mips/stdatomic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/stdatomic.c b/sys/mips/mips/stdatomic.c
index d1cc6b4145c2..bd27f667f3ec 100644
--- a/sys/mips/mips/stdatomic.c
+++ b/sys/mips/mips/stdatomic.c
@@ -327,7 +327,7 @@ __sync_bool_compare_and_swap_4(uint32_t *mem, uint32_t expected,
{
return (do_compare_and_swap_4(mem, expected, desired) ==
- desired);
+ expected);
}
#define EMIT_FETCH_AND_OP_4(name, op) \