summaryrefslogtreecommitdiffstats
path: root/include/ck_backoff.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/ck_backoff.h')
-rw-r--r--include/ck_backoff.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ck_backoff.h b/include/ck_backoff.h
index 82a4f21..a1f7616 100644
--- a/include/ck_backoff.h
+++ b/include/ck_backoff.h
@@ -50,7 +50,7 @@ ck_backoff_eb(unsigned int *c)
for (i = 0; i < ceiling; i++)
ck_pr_barrier();
- *c = ceiling <<= ceiling < CK_BACKOFF_CEILING;
+ *c = ceiling << (ceiling < CK_BACKOFF_CEILING);
return;
}