diff options
-rw-r--r-- | kernel/rcutree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/rcutree.c b/kernel/rcutree.c index 2cf8eb3e2d43..98f275296c6d 100644 --- a/kernel/rcutree.c +++ b/kernel/rcutree.c | |||
@@ -819,7 +819,8 @@ static void check_cpu_stall(struct rcu_state *rsp, struct rcu_data *rdp) | |||
819 | j = ACCESS_ONCE(jiffies); | 819 | j = ACCESS_ONCE(jiffies); |
820 | js = ACCESS_ONCE(rsp->jiffies_stall); | 820 | js = ACCESS_ONCE(rsp->jiffies_stall); |
821 | rnp = rdp->mynode; | 821 | rnp = rdp->mynode; |
822 | if ((ACCESS_ONCE(rnp->qsmask) & rdp->grpmask) && ULONG_CMP_GE(j, js)) { | 822 | if (rcu_gp_in_progress(rsp) && |
823 | (ACCESS_ONCE(rnp->qsmask) & rdp->grpmask) && ULONG_CMP_GE(j, js)) { | ||
823 | 824 | ||
824 | /* We haven't checked in, so go dump stack. */ | 825 | /* We haven't checked in, so go dump stack. */ |
825 | print_cpu_stall(rsp); | 826 | print_cpu_stall(rsp); |