]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - kernel/sched/rt.c
Merge branch 'akpm-current/current'
[karo-tx-linux.git] / kernel / sched / rt.c
index 7795e292f4c94d77bf1039d7143eed998914e664..ea4d50089631b57ff06d5b32167c5479f20b633c 100644 (file)
@@ -890,14 +890,8 @@ static int sched_rt_runtime_exceeded(struct rt_rq *rt_rq)
                 * but accrue some time due to boosting.
                 */
                if (likely(rt_b->rt_runtime)) {
-                       static bool once = false;
-
                        rt_rq->rt_throttled = 1;
-
-                       if (!once) {
-                               once = true;
-                               printk_sched("sched: RT throttling activated\n");
-                       }
+                       printk_deferred_once("sched: RT throttling activated\n");
                } else {
                        /*
                         * In case we did anyway, make it go away,