summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-07-26 19:22:53 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-07-26 19:22:53 -0700
commit0bce290a422e02d24b0ecaee135a8be4a1cc35ab (patch)
tree60147718095205eac92836fad4bde7352a545734 /kernel
parent827f654338c1bfbee65c4d5802c40743b660e57b (diff)
parentce3ef1df548ef1fe338d37bf873ed71ddae39f3c (diff)
Merge "hotplug cpu: ratelimit logs for thermal veto"
Diffstat (limited to 'kernel')
-rw-r--r--kernel/cpu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 87b88e8c0233..1d6b0a209bc0 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -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;
}