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