Merge branch 'sched/clock' into tracing/ftrace
[deliverable/linux.git] / include / linux / sched.h
index 426666dd8203b7436e2b17f24e6e9beeda42a450..7702cb166e0832d065bf539ecddda68af62ef894 100644 (file)
@@ -1672,6 +1672,16 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
        return set_cpus_allowed_ptr(p, &new_mask);
 }
 
+/*
+ * Architectures can set this to 1 if they have specified
+ * CONFIG_HAVE_UNSTABLE_SCHED_CLOCK in their arch Kconfig,
+ * but then during bootup it turns out that sched_clock()
+ * is reliable after all:
+ */
+#ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
+extern int sched_clock_stable;
+#endif
+
 extern unsigned long long sched_clock(void);
 
 extern void sched_clock_init(void);
This page took 0.025323 seconds and 5 git commands to generate.