diff options
-rw-r--r-- | kernel/rcutorture.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 20ce3b6f9aa6..be63101c6175 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c | |||
@@ -1434,7 +1434,13 @@ rcu_torture_onoff(void *arg) | |||
1434 | torture_type, cpu); | 1434 | torture_type, cpu); |
1435 | starttime = jiffies; | 1435 | starttime = jiffies; |
1436 | n_online_attempts++; | 1436 | n_online_attempts++; |
1437 | if (cpu_up(cpu) == 0) { | 1437 | ret = cpu_up(cpu); |
1438 | if (ret) { | ||
1439 | if (verbose) | ||
1440 | pr_alert("%s" TORTURE_FLAG | ||
1441 | "rcu_torture_onoff task: online %d failed: errno %d\n", | ||
1442 | torture_type, cpu, ret); | ||
1443 | } else { | ||
1438 | if (verbose) | 1444 | if (verbose) |
1439 | pr_alert("%s" TORTURE_FLAG | 1445 | pr_alert("%s" TORTURE_FLAG |
1440 | "rcu_torture_onoff task: onlined %d\n", | 1446 | "rcu_torture_onoff task: onlined %d\n", |