aboutsummaryrefslogtreecommitdiff
path: root/nptl/allocatestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/allocatestack.c')
-rw-r--r--nptl/allocatestack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nptl/allocatestack.c b/nptl/allocatestack.c
index bb27c180e6..f0dddf051d 100644
--- a/nptl/allocatestack.c
+++ b/nptl/allocatestack.c
@@ -834,8 +834,8 @@ setxid_signal_thread (struct xid_command *cmdp, struct pthread *t)
if ((ch & EXITING_BITMASK) != 0)
return;
}
- while (atomic_compare_and_exchange_val_acq (&t->cancelhandling,
- ch | SETXID_BITMASK, ch));
+ while (atomic_compare_and_exchange_bool_acq (&t->cancelhandling,
+ ch | SETXID_BITMASK, ch));
}
int val;