aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/sched.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 426666dd8203..7702cb166e08 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1672,6 +1672,16 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
1672 return set_cpus_allowed_ptr(p, &new_mask); 1672 return set_cpus_allowed_ptr(p, &new_mask);
1673} 1673}
1674 1674
1675/*
1676 * Architectures can set this to 1 if they have specified
1677 * CONFIG_HAVE_UNSTABLE_SCHED_CLOCK in their arch Kconfig,
1678 * but then during bootup it turns out that sched_clock()
1679 * is reliable after all:
1680 */
1681#ifdef CONFIG_HAVE_UNSTABLE_SCHED_CLOCK
1682extern int sched_clock_stable;
1683#endif
1684
1675extern unsigned long long sched_clock(void); 1685extern unsigned long long sched_clock(void);
1676 1686
1677extern void sched_clock_init(void); 1687extern void sched_clock_init(void);