aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/lib/spinlock_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/lib/spinlock_common.h')
-rw-r--r--arch/tile/lib/spinlock_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/tile/lib/spinlock_common.h b/arch/tile/lib/spinlock_common.h
index c10109809132..6ac37509faca 100644
--- a/arch/tile/lib/spinlock_common.h
+++ b/arch/tile/lib/spinlock_common.h
@@ -60,5 +60,5 @@ static void delay_backoff(int iterations)
loops += __insn_crc32_32(stack_pointer, get_cycles_low()) &
(loops - 1);
- relax(1 << exponent);
+ relax(loops);
}