diff options
Diffstat (limited to 'kernel/rcupreempt.c')
-rw-r--r-- | kernel/rcupreempt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcupreempt.c b/kernel/rcupreempt.c index aaa7976bd85f..27d0748d8d32 100644 --- a/kernel/rcupreempt.c +++ b/kernel/rcupreempt.c | |||
@@ -597,7 +597,7 @@ rcu_try_flip_waitack_needed(int cpu) | |||
597 | * that this CPU already acknowledged the counter. | 597 | * that this CPU already acknowledged the counter. |
598 | */ | 598 | */ |
599 | 599 | ||
600 | if ((curr - snap) > 2 || (snap & 0x1) == 0) | 600 | if ((curr - snap) > 2 || (curr & 0x1) == 0) |
601 | return 0; | 601 | return 0; |
602 | 602 | ||
603 | /* We need this CPU to explicitly acknowledge the counter flip. */ | 603 | /* We need this CPU to explicitly acknowledge the counter flip. */ |