|
@@ -1836,7 +1836,8 @@ static inline int set_cpus_allowed(struct task_struct *p, cpumask_t new_mask)
|
|
extern int sched_clock_stable;
|
|
extern int sched_clock_stable;
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-extern unsigned long long sched_clock(void);
|
|
|
|
|
|
+/* ftrace calls sched_clock() directly */
|
|
|
|
+extern unsigned long long notrace sched_clock(void);
|
|
|
|
|
|
extern void sched_clock_init(void);
|
|
extern void sched_clock_init(void);
|
|
extern u64 sched_clock_cpu(int cpu);
|
|
extern u64 sched_clock_cpu(int cpu);
|