sched/tune: report when SchedTune has not been initialized
authorPatrick Bellasi <patrick.bellasi@arm.com>
Thu, 13 Oct 2016 16:34:47 +0000 (17:34 +0100)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 21 Jun 2017 11:07:44 +0000 (16:37 +0530)
Change-Id: Iba4e5e3d220451f04272d555e6b8e0af83a7f09d
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Signed-off-by: Srinath Sridharan <srinathsr@google.com>
kernel/sched/tune.c

index d512b4fb218fd9b160a57470bc99f920b996e397..9770cef183d0ddae090aa624c0fa1439f0178f17 100644 (file)
@@ -939,6 +939,7 @@ schedtune_init(void)
        return 0;
 
 nodata:
+       pr_warning("schedtune: disabled!\n");
        rcu_read_unlock();
        return -EINVAL;
 }