Merge "hotplug cpu: ratelimit logs for thermal veto"

This commit is contained in:
Linux Build Service Account 2017-07-26 19:22:53 -07:00 committed by Gerrit - the friendly Code Review server
commit 0bce290a42

View file

@ -523,8 +523,8 @@ static int _cpu_up(unsigned int cpu, int tasks_frozen)
ret = __cpu_notify(CPU_UP_PREPARE | mod, hcpu, -1, &nr_calls);
if (ret) {
nr_calls--;
pr_warn("%s: attempt to bring up CPU %u failed\n",
__func__, cpu);
pr_warn_ratelimited("%s: attempt to bring up CPU %u failed\n",
__func__, cpu);
goto out_notify;
}