torture_type, cpu);
        starttime = jiffies;
        (*n_offl_attempts)++;
-       ret = cpu_down(cpu);
+       ret = remove_cpu(cpu);
        if (ret) {
 +              s = "";
 +              if (!rcu_inkernel_boot_has_ended() && ret == -EBUSY) {
 +                      // PCI probe frequently disables hotplug during boot.
 +                      (*n_offl_attempts)--;
 +                      s = " (-EBUSY forgiven during boot)";
 +              }
                if (verbose)
                        pr_alert("%s" TORTURE_FLAG
 -                               "torture_onoff task: offline %d failed: errno %d\n",
 -                               torture_type, cpu, ret);
 +                               "torture_onoff task: offline %d failed%s: errno %d\n",
 +                               torture_type, cpu, s, ret);
        } else {
                if (verbose > 1)
                        pr_alert("%s" TORTURE_FLAG
                         torture_type, cpu);
        starttime = jiffies;
        (*n_onl_attempts)++;
-       ret = cpu_up(cpu);
+       ret = add_cpu(cpu);
        if (ret) {
 +              s = "";
 +              if (!rcu_inkernel_boot_has_ended() && ret == -EBUSY) {
 +                      // PCI probe frequently disables hotplug during boot.
 +                      (*n_onl_attempts)--;
 +                      s = " (-EBUSY forgiven during boot)";
 +              }
                if (verbose)
                        pr_alert("%s" TORTURE_FLAG
 -                               "torture_onoff task: online %d failed: errno %d\n",
 -                               torture_type, cpu, ret);
 +                               "torture_onoff task: online %d failed%s: errno %d\n",
 +                               torture_type, cpu, s, ret);
        } else {
                if (verbose > 1)
                        pr_alert("%s" TORTURE_FLAG