sched/clock, x86: Use a static_key for sched_clock_stable
[deliverable/linux.git] / kernel / time / tick-sched.c
index ea20f7d1ac2c4f91af4dd8dd4db3b01b5c6ae4b7..c833249ab0fbb41d13b0ecce74a7031718cf72a8 100644 (file)
@@ -177,7 +177,7 @@ static bool can_stop_full_tick(void)
         * TODO: kick full dynticks CPUs when
         * sched_clock_stable is set.
         */
-       if (!sched_clock_stable) {
+       if (!sched_clock_stable()) {
                trace_tick_stop(0, "unstable sched clock\n");
                /*
                 * Don't allow the user to think they can get
This page took 0.024805 seconds and 5 git commands to generate.