|
@@ -1434,7 +1434,13 @@ rcu_torture_onoff(void *arg)
|
|
|
torture_type, cpu);
|
|
|
starttime = jiffies;
|
|
|
n_online_attempts++;
|
|
|
- if (cpu_up(cpu) == 0) {
|
|
|
+ ret = cpu_up(cpu);
|
|
|
+ if (ret) {
|
|
|
+ if (verbose)
|
|
|
+ pr_alert("%s" TORTURE_FLAG
|
|
|
+ "rcu_torture_onoff task: online %d failed: errno %d\n",
|
|
|
+ torture_type, cpu, ret);
|
|
|
+ } else {
|
|
|
if (verbose)
|
|
|
pr_alert("%s" TORTURE_FLAG
|
|
|
"rcu_torture_onoff task: onlined %d\n",
|